@ThreadSafe
public interface InitializationContext
CacheLoader or a CacheWriter.| Modifier and Type | Method and Description |
|---|---|
ByteBufferFactory |
getByteBufferFactory()
To be used for building
ByteBuffer objects. |
Cache |
getCache() |
<T extends StoreConfiguration> |
getConfiguration() |
java.util.concurrent.ExecutorService |
getExecutor()
Returns the preferred executor to be used by stores if needed.
|
KeyPartitioner |
getKeyPartitioner()
The configured partitioner that can be used to determine which segment a given key belongs to.
|
MarshallableEntryFactory |
getMarshallableEntryFactory()
Should be used to build all
MarshallableEntry objects. |
MarshalledEntryFactory |
getMarshalledEntryFactory()
Deprecated.
since 10.0 please use
getMarshallableEntryFactory() instead |
StreamingMarshaller |
getMarshaller() |
TimeService |
getTimeService() |
<T extends StoreConfiguration> T getConfiguration()
Cache getCache()
KeyPartitioner getKeyPartitioner()
SegmentedAdvancedLoadWriteStore).StreamingMarshaller getMarshaller()
TimeService getTimeService()
ByteBufferFactory getByteBufferFactory()
ByteBuffer objects.@Deprecated MarshalledEntryFactory getMarshalledEntryFactory()
getMarshallableEntryFactory() insteadMarshalledEntry objects.java.util.concurrent.ExecutorService getExecutor()
MarshallableEntryFactory getMarshallableEntryFactory()
MarshallableEntry objects.