@ThreadSafe
public interface InitializationContext
CacheLoader
or a CacheWriter
.Modifier and Type | Method and Description |
---|---|
BlockingManager |
getBlockingManager()
Returns a manager that is designed to execute tasks that might block.
|
ByteBufferFactory |
getByteBufferFactory()
To be used for building
ByteBuffer objects. |
Cache |
getCache() |
<T extends StoreConfiguration> |
getConfiguration() |
ExecutorService |
getExecutor()
Deprecated.
since 11.0 - Please use
getBlockingManager() ()} or getNonBlockingExecutor() instead |
GlobalConfiguration |
getGlobalConfiguration()
Returns the global configuration
|
KeyPartitioner |
getKeyPartitioner()
The configured partitioner that can be used to determine which segment a given key belongs to.
|
<K,V> MarshallableEntryFactory<K,V> |
getMarshallableEntryFactory()
Should be used to build all
MarshallableEntry objects. |
Executor |
getNonBlockingExecutor()
Returns an executor for non-blocking tasks.
|
PersistenceMarshaller |
getPersistenceMarshaller()
Returns the persistence marshaller which should be used to marshall/unmarshall all stored bytes.
|
TimeService |
getTimeService() |
<T extends StoreConfiguration> T getConfiguration()
Cache getCache()
KeyPartitioner getKeyPartitioner()
SegmentedAdvancedLoadWriteStore
).TimeService getTimeService()
ByteBufferFactory getByteBufferFactory()
ByteBuffer
objects.@Deprecated ExecutorService getExecutor()
getBlockingManager()
()} or getNonBlockingExecutor()
insteadExecutor getNonBlockingExecutor()
BlockingManager getBlockingManager()
<K,V> MarshallableEntryFactory<K,V> getMarshallableEntryFactory()
MarshallableEntry
objects.PersistenceMarshaller getPersistenceMarshaller()
GlobalConfiguration getGlobalConfiguration()
Copyright © 2021 JBoss by Red Hat. All rights reserved.