Package com.ironcorelabs.sdk
Class PolicyCachingConfig
- java.lang.Object
-
- com.ironcorelabs.sdk.PolicyCachingConfig
-
public final class PolicyCachingConfig extends java.lang.Object
Policy evaluation caching config Since policies are evaluated by the webservice, caching the result can greatly speed up encrypting a document with a PolicyGrant.
-
-
Constructor Summary
Constructors Constructor Description PolicyCachingConfig()
PolicyCachingConfig(long maxEntries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
boolean
equals(java.lang.Object obj)
protected void
finalize()
long
getMaxEntries()
int
hashCode()
-
-
-
Constructor Detail
-
PolicyCachingConfig
public PolicyCachingConfig(long maxEntries)
- Parameters:
maxEntries
- maximum number of policy evaluations that will be cached by the SDK. If the maximum number is exceeded, the cache will be cleared prior to storing the next entry.
-
PolicyCachingConfig
public PolicyCachingConfig()
-
-
Method Detail
-
getMaxEntries
public final long getMaxEntries()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
delete
public void delete()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-