Class ComPersistenceAdaptorBinary.Default
java.lang.Object
one.microstream.communication.types.ComPersistenceAdaptor.Abstract<C>
one.microstream.communication.binary.types.ComPersistenceAdaptorBinary.Abstract<SocketChannel>
one.microstream.communication.binary.types.ComPersistenceAdaptorBinary.Default
- All Implemented Interfaces:
ComPersistenceAdaptorBinary<SocketChannel>
,ComPersistenceAdaptor<SocketChannel>
,PersistenceTypeDictionaryProvider
,PersistenceTypeDictionaryViewProvider
- Enclosing interface:
- ComPersistenceAdaptorBinary<C>
public static final class ComPersistenceAdaptorBinary.Default extends ComPersistenceAdaptorBinary.Abstract<SocketChannel>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.communication.types.ComPersistenceAdaptor
ComPersistenceAdaptor.Abstract<C>
Nested classes/interfaces inherited from interface one.microstream.communication.binary.types.ComPersistenceAdaptorBinary
ComPersistenceAdaptorBinary.Abstract<C>, ComPersistenceAdaptorBinary.Creator<C>, ComPersistenceAdaptorBinary.Default
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDictionaryProvider
PersistenceTypeDictionaryProvider.Caching, PersistenceTypeDictionaryProvider.Default
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDictionaryViewProvider
PersistenceTypeDictionaryViewProvider.Wrapper
-
Constructor Summary
Constructors Modifier Constructor Description protected
Default(BinaryPersistenceFoundation<?> foundation, BufferSizeProvider bufferSizeProvider, PersistenceIdStrategy hostInitIdStrategy, XGettingEnum<Class<?>> entityTypes, ByteOrder hostByteOrder, PersistenceIdStrategy hostIdStrategy)
-
Method Summary
Modifier and Type Method Description BinaryPersistenceFoundation<?>
provideClientPersistenceFoundation(SocketChannel connection, ComProtocol protocol)
PersistenceFoundation<?,?>
provideHostPersistenceFoundation(SocketChannel connection)
Provides aPersistenceFoundation
instance prepared for the passed connection instance.Methods inherited from class one.microstream.communication.binary.types.ComPersistenceAdaptorBinary.Abstract
bufferSizeProvider, createInitializationFoundation, persistenceFoundation
Methods inherited from class one.microstream.communication.types.ComPersistenceAdaptor.Abstract
comWriteController, hostByteOrder, hostIdStrategy, hostInitializationIdStrategy, initializeHostPersistenceFoundation, iterateEntityTypes, provideTypeDictionary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface one.microstream.communication.types.ComPersistenceAdaptor
createClientChannel, createHostChannel, hostByteOrder, hostIdStrategy, hostInitializationIdStrategy, initializeClientPersistenceFoundation, initializeHostPersistenceFoundation, iterateEntityTypes, provideClientPersistenceManager, provideHostPersistenceManager, provideTypeDictionary, provideTypeDictionaryCompiler
Methods inherited from interface one.microstream.communication.binary.types.ComPersistenceAdaptorBinary
initializePersistenceFoundation
-
Constructor Details
-
Default
protected Default(BinaryPersistenceFoundation<?> foundation, BufferSizeProvider bufferSizeProvider, PersistenceIdStrategy hostInitIdStrategy, XGettingEnum<Class<?>> entityTypes, ByteOrder hostByteOrder, PersistenceIdStrategy hostIdStrategy)
-
-
Method Details
-
provideHostPersistenceFoundation
Description copied from interface:ComPersistenceAdaptor
Provides aPersistenceFoundation
instance prepared for the passed connection instance. The passed connection instance might be null, in which case the returned foundation instance can only be used for general, non-communication-related operations.See
ComPersistenceAdaptor.provideHostPersistenceManager(C)
with a passed non-null connection instance.
SeeComPersistenceAdaptor.provideTypeDictionaryCompiler()
with a passed null connection instance. -
provideClientPersistenceFoundation
public BinaryPersistenceFoundation<?> provideClientPersistenceFoundation(SocketChannel connection, ComProtocol protocol)
-