public class InitializationContextImpl
extends java.lang.Object
implements org.infinispan.persistence.spi.InitializationContext
Modifier and Type | Field and Description |
---|---|
private ByteBufferFactory |
byteBufferFactory |
private Cache |
cache |
private StoreConfiguration |
configuration |
private org.infinispan.marshall.core.MarshalledEntryFactory |
marshalledEntryFactory |
private StreamingMarshaller |
marshaller |
private org.infinispan.util.TimeService |
timeService |
Constructor and Description |
---|
InitializationContextImpl(StoreConfiguration configuration,
Cache cache,
StreamingMarshaller marshaller,
org.infinispan.util.TimeService timeService,
ByteBufferFactory byteBufferFactory,
org.infinispan.marshall.core.MarshalledEntryFactory mef) |
Modifier and Type | Method and Description |
---|---|
ByteBufferFactory |
getByteBufferFactory()
To be used for building
ByteBuffer objects. |
Cache |
getCache() |
StoreConfiguration |
getConfiguration() |
org.infinispan.marshall.core.MarshalledEntryFactory |
getMarshalledEntryFactory()
To be used for building
MarshalledEntry objects. |
StreamingMarshaller |
getMarshaller() |
org.infinispan.util.TimeService |
getTimeService() |
private final StoreConfiguration configuration
private final Cache cache
private final StreamingMarshaller marshaller
private final org.infinispan.util.TimeService timeService
private final ByteBufferFactory byteBufferFactory
private final org.infinispan.marshall.core.MarshalledEntryFactory marshalledEntryFactory
public InitializationContextImpl(StoreConfiguration configuration, Cache cache, StreamingMarshaller marshaller, org.infinispan.util.TimeService timeService, ByteBufferFactory byteBufferFactory, org.infinispan.marshall.core.MarshalledEntryFactory mef)
public StoreConfiguration getConfiguration()
getConfiguration
in interface org.infinispan.persistence.spi.InitializationContext
public Cache getCache()
getCache
in interface org.infinispan.persistence.spi.InitializationContext
public StreamingMarshaller getMarshaller()
getMarshaller
in interface org.infinispan.persistence.spi.InitializationContext
public org.infinispan.util.TimeService getTimeService()
getTimeService
in interface org.infinispan.persistence.spi.InitializationContext
public ByteBufferFactory getByteBufferFactory()
org.infinispan.persistence.spi.InitializationContext
ByteBuffer
objects.getByteBufferFactory
in interface org.infinispan.persistence.spi.InitializationContext
public org.infinispan.marshall.core.MarshalledEntryFactory getMarshalledEntryFactory()
org.infinispan.persistence.spi.InitializationContext
MarshalledEntry
objects.getMarshalledEntryFactory
in interface org.infinispan.persistence.spi.InitializationContext