public class AccountStatistics extends ApiResponse<AccountStatistics>
NO_TYPE, PARSE_ERROR_TYPE| Constructor and Description |
|---|
AccountStatistics(Message msg)
Construct an AccountStatistics
|
| Modifier and Type | Method and Description |
|---|---|
@NonNull ApiStats |
getApi()
Gets the account api stats
|
long |
getConsumers()
Gets the number of consumers used by the JetStream deployment.
|
@Nullable java.lang.String |
getDomain()
Gets the account domain.
|
AccountLimits |
getLimits()
Gets the Account Limits object.
|
long |
getMemory()
Gets the amount of memory storage used by the JetStream deployment.
|
long |
getReservedMemory()
Bytes that is reserved for memory usage by this account on the server
|
long |
getReservedStorage()
Bytes that is reserved for disk usage by this account on the server
|
long |
getStorage()
Gets the amount of file storage used by the JetStream deployment.
|
long |
getStreams()
Gets the number of streams used by the JetStream deployment.
|
@NonNull java.util.Map<java.lang.String,AccountTier> |
getTiers()
Gets the map of the Account Tiers by tier name.
|
getApiErrorCode, getDescription, getError, getErrorCode, getErrorObject, getJv, getType, hasError, throwOnHasError, toStringpublic AccountStatistics(Message msg)
msg - the api response messagepublic long getMemory()
public long getStorage()
public long getReservedMemory()
public long getReservedStorage()
public long getStreams()
public long getConsumers()
public AccountLimits getLimits()
public @Nullable java.lang.String getDomain()
public @NonNull ApiStats getApi()
public @NonNull java.util.Map<java.lang.String,AccountTier> getTiers()