Class ComPersistenceAdaptorBinary.Default
java.lang.Object
one.microstream.communication.types.ComPersistenceAdaptor.Abstract<C>
one.microstream.communication.binary.types.ComPersistenceAdaptorBinary.Abstract<ComConnection>
one.microstream.communication.binary.types.ComPersistenceAdaptorBinary.Default
- All Implemented Interfaces:
ComPersistenceAdaptorBinary<ComConnection>,ComPersistenceAdaptor<ComConnection>,PersistenceTypeDictionaryProvider,PersistenceTypeDictionaryViewProvider
- Enclosing interface:
- ComPersistenceAdaptorBinary<C>
public static final class ComPersistenceAdaptorBinary.Default extends ComPersistenceAdaptorBinary.Abstract<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.communication.binary.types.ComPersistenceAdaptorBinary
ComPersistenceAdaptorBinary.Abstract<C>, ComPersistenceAdaptorBinary.Creator<C>, ComPersistenceAdaptorBinary.DefaultNested 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 protectedDefault(BinaryPersistenceFoundation<?> foundation, BufferSizeProvider bufferSizeProvider, PersistenceIdStrategy hostInitIdStrategy, XGettingEnum<Class<?>> entityTypes, ByteOrder hostByteOrder, PersistenceIdStrategy hostIdStrategy) -
Method Summary
Modifier and Type Method Description BinaryPersistenceFoundation<?>provideClientPersistenceFoundation(ComConnection connection, ComProtocol protocol)PersistenceFoundation<?,?>provideHostPersistenceFoundation(ComConnection connection)Provides aPersistenceFoundationinstance prepared for the passed connection instance.Methods inherited from class one.microstream.communication.binary.types.ComPersistenceAdaptorBinary.Abstract
bufferSizeProvider, createInitializationFoundation, persistenceFoundationMethods inherited from class one.microstream.communication.types.ComPersistenceAdaptor.Abstract
comWriteController, hostByteOrder, hostIdStrategy, hostInitializationIdStrategy, initializeHostPersistenceFoundation, iterateEntityTypes, provideTypeDictionaryMethods 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
createClientChannel, createHostChannel, hostByteOrder, hostIdStrategy, hostInitializationIdStrategy, initializeClientPersistenceFoundation, initializeHostPersistenceFoundation, iterateEntityTypes, provideClientPersistenceManager, provideHostPersistenceManager, provideTypeDictionary, provideTypeDictionaryCompilerMethods 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: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.- 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)
-