Class ObjectCacheConfig
- java.lang.Object
-
- com.linkedin.davinci.store.cache.backend.ObjectCacheConfig
-
public class ObjectCacheConfig extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ObjectCacheConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.Optional<java.lang.Long>
getMaxCacheSize()
java.util.Optional<java.lang.Long>
getTtlInMilliseconds()
int
hashCode()
ObjectCacheConfig
setMaxPerPartitionCacheSize(java.lang.Long maxPerPartitionCacheSize)
ObjectCacheConfig
setTtlInMilliseconds(java.lang.Long ttlInMilliseconds)
java.lang.String
toString()
-
-
-
Method Detail
-
setMaxPerPartitionCacheSize
public ObjectCacheConfig setMaxPerPartitionCacheSize(java.lang.Long maxPerPartitionCacheSize)
-
setTtlInMilliseconds
public ObjectCacheConfig setTtlInMilliseconds(java.lang.Long ttlInMilliseconds)
-
getMaxCacheSize
public java.util.Optional<java.lang.Long> getMaxCacheSize()
-
getTtlInMilliseconds
public java.util.Optional<java.lang.Long> getTtlInMilliseconds()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-