@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() |
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.
|
MarshalledEntryFactory |
getMarshalledEntryFactory()
To be used for building
MarshalledEntry objects. |
StreamingMarshaller |
getMarshaller() |
TimeService |
getTimeService() |
<T extends StoreConfiguration> T getConfiguration()
Cache getCache()
KeyPartitioner getKeyPartitioner()
SegmentedAdvancedLoadWriteStore
).StreamingMarshaller getMarshaller()
TimeService getTimeService()
ByteBufferFactory getByteBufferFactory()
ByteBuffer
objects.MarshalledEntryFactory getMarshalledEntryFactory()
MarshalledEntry
objects.ExecutorService getExecutor()
Copyright © 2019 JBoss, a division of Red Hat. All rights reserved.