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 InitializationContext
public Cache getCache()
getCache
in interface InitializationContext
public StreamingMarshaller getMarshaller()
getMarshaller
in interface InitializationContext
public TimeService getTimeService()
getTimeService
in interface InitializationContext
public ByteBufferFactory getByteBufferFactory()
InitializationContext
ByteBuffer
objects.getByteBufferFactory
in interface InitializationContext
public MarshalledEntryFactory getMarshalledEntryFactory()
InitializationContext
MarshalledEntry
objects.getMarshalledEntryFactory
in interface InitializationContext
public ExecutorService getExecutor()
InitializationContext
getExecutor
in interface InitializationContext
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.