public static final class CryptoMaterialsCache.UsageStats extends Object
Modifier and Type | Field and Description |
---|---|
static CryptoMaterialsCache.UsageStats |
ZERO |
Constructor and Description |
---|
UsageStats(long bytesEncrypted,
long messagesEncrypted) |
Modifier and Type | Method and Description |
---|---|
CryptoMaterialsCache.UsageStats |
add(CryptoMaterialsCache.UsageStats other)
Performs a pairwise add of two UsageStats objects.
|
boolean |
equals(Object o) |
long |
getBytesEncrypted() |
long |
getMessagesEncrypted() |
int |
hashCode() |
String |
toString() |
public static final CryptoMaterialsCache.UsageStats ZERO
public long getBytesEncrypted()
public long getMessagesEncrypted()
public CryptoMaterialsCache.UsageStats add(CryptoMaterialsCache.UsageStats other)
Long.MAX_VALUE
other
- Copyright © 2023. All rights reserved.