public class InitializationContextImpl extends Object implements InitializationContext
| Constructor and Description |
|---|
InitializationContextImpl(StoreConfiguration configuration,
Cache cache,
StreamingMarshaller marshaller,
TimeService timeService,
ByteBufferFactory byteBufferFactory,
MarshalledEntryFactory mef,
ExecutorService executorService) |
| Modifier and Type | Method and Description |
|---|---|
ByteBufferFactory |
getByteBufferFactory()
To be used for building
ByteBuffer objects. |
Cache |
getCache() |
StoreConfiguration |
getConfiguration() |
ExecutorService |
getExecutor()
Returns the preferred executor to be used by stores if needed.
|
MarshalledEntryFactory |
getMarshalledEntryFactory()
To be used for building
MarshalledEntry objects. |
StreamingMarshaller |
getMarshaller() |
TimeService |
getTimeService() |
public InitializationContextImpl(StoreConfiguration configuration, Cache cache, StreamingMarshaller marshaller, TimeService timeService, ByteBufferFactory byteBufferFactory, MarshalledEntryFactory mef, ExecutorService executorService)
public StoreConfiguration getConfiguration()
getConfiguration in interface InitializationContextpublic Cache getCache()
getCache in interface InitializationContextpublic StreamingMarshaller getMarshaller()
getMarshaller in interface InitializationContextpublic TimeService getTimeService()
getTimeService in interface InitializationContextpublic ByteBufferFactory getByteBufferFactory()
InitializationContextByteBuffer objects.getByteBufferFactory in interface InitializationContextpublic MarshalledEntryFactory getMarshalledEntryFactory()
InitializationContextMarshalledEntry objects.getMarshalledEntryFactory in interface InitializationContextpublic ExecutorService getExecutor()
InitializationContextgetExecutor in interface InitializationContextCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.