Class ComPersistenceAdaptorBinaryDynamic
java.lang.Object
one.microstream.communication.binarydynamic.ComPersistenceAdaptorBinaryDynamic
- All Implemented Interfaces:
ComPersistenceAdaptor<ComConnection>,PersistenceTypeDictionaryProvider,PersistenceTypeDictionaryViewProvider
public class ComPersistenceAdaptorBinaryDynamic extends Object implements ComPersistenceAdaptor<ComConnection>
-
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.persistence.types.PersistenceTypeDictionaryProvider
PersistenceTypeDictionaryProvider.Caching, PersistenceTypeDictionaryProvider.DefaultNested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDictionaryViewProvider
PersistenceTypeDictionaryViewProvider.Wrapper -
Constructor Summary
Constructors Modifier Constructor Description protectedComPersistenceAdaptorBinaryDynamic(BinaryPersistenceFoundation<?> foundation, BufferSizeProvider bufferSizeProvider, PersistenceIdStrategy hostInitIdStrategy, XGettingEnum<Class<?>> entityTypes, ByteOrder hostByteOrder, PersistenceIdStrategy hostIdStrategy) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface one.microstream.communication.types.ComPersistenceAdaptor
initializeClientPersistenceFoundation, initializeHostPersistenceFoundation, initializePersistenceFoundation, provideClientPersistenceManager, provideHostPersistenceManager
-
Constructor Details
-
ComPersistenceAdaptorBinaryDynamic
protected ComPersistenceAdaptorBinaryDynamic(BinaryPersistenceFoundation<?> foundation, BufferSizeProvider bufferSizeProvider, PersistenceIdStrategy hostInitIdStrategy, XGettingEnum<Class<?>> entityTypes, ByteOrder hostByteOrder, PersistenceIdStrategy hostIdStrategy)
-
-
Method Details
-
New
public static ComPersistenceAdaptorBinaryDynamic New(BinaryPersistenceFoundation<?> foundation, BufferSizeProvider bufferSizeProvider, PersistenceIdStrategy hostInitIdStrategy, XGettingEnum<Class<?>> entityTypes, ByteOrder hostByteOrder, PersistenceIdStrategy hostIdStrategy) -
persistenceFoundation
- Specified by:
persistenceFoundationin interfaceComPersistenceAdaptor<ComConnection>
-
iterateEntityTypes
- Specified by:
iterateEntityTypesin interfaceComPersistenceAdaptor<ComConnection>
-
hostInitializationIdStrategy
- Specified by:
hostInitializationIdStrategyin interfaceComPersistenceAdaptor<ComConnection>
-
hostIdStrategy
- Specified by:
hostIdStrategyin interfaceComPersistenceAdaptor<ComConnection>
-
hostByteOrder
- Specified by:
hostByteOrderin interfaceComPersistenceAdaptor<ComConnection>
-
provideTypeDictionaryCompiler
- Specified by:
provideTypeDictionaryCompilerin interfaceComPersistenceAdaptor<ComConnection>
-
createInitializationFoundation
- Specified by:
createInitializationFoundationin interfaceComPersistenceAdaptor<ComConnection>
-
provideHostPersistenceFoundation
Description copied from interface:ComPersistenceAdaptorProvides aPersistenceFoundationinstance 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.- Specified by:
provideHostPersistenceFoundationin interfaceComPersistenceAdaptor<ComConnection>- Parameters:
connection- connection to lookup the host persistence foundation for- Returns:
- the persistence foundation for the given connection
- See Also:
ComPersistenceAdaptor.provideHostPersistenceManager(C),ComPersistenceAdaptor.provideTypeDictionaryCompiler()
-
provideClientPersistenceFoundation
public BinaryPersistenceFoundation<?> provideClientPersistenceFoundation(ComConnection connection, ComProtocol protocol)- Specified by:
provideClientPersistenceFoundationin interfaceComPersistenceAdaptor<ComConnection>
-
createHostChannel
public ComHostChannel<ComConnection> createHostChannel(ComConnection connection, ComProtocol protocol, ComHost<ComConnection> parent)- Specified by:
createHostChannelin interfaceComPersistenceAdaptor<ComConnection>
-
createClientChannel
public ComClientChannel<ComConnection> createClientChannel(ComConnection connection, ComProtocol protocol, ComClient<ComConnection> parent)- Specified by:
createClientChannelin interfaceComPersistenceAdaptor<ComConnection>
-
provideTypeDictionaryInternal
-
provideTypeDictionary
- Specified by:
provideTypeDictionaryin interfaceComPersistenceAdaptor<ComConnection>- Specified by:
provideTypeDictionaryin interfacePersistenceTypeDictionaryProvider- Specified by:
provideTypeDictionaryin interfacePersistenceTypeDictionaryViewProvider
-
Creator
-
Creator
public static ComPersistenceAdaptorCreator<ComConnection> Creator(BinaryPersistenceFoundation<?> foundation) -
Creator
public static ComPersistenceAdaptorCreator<ComConnection> Creator(BinaryPersistenceFoundation<?> foundation, BufferSizeProvider bufferSizeProvider)
-