Package one.microstream.com
Interface ComPersistenceAdaptor<C>
- All Superinterfaces:
PersistenceTypeDictionaryProvider
,PersistenceTypeDictionaryViewProvider
- All Known Subinterfaces:
ComPersistenceAdaptorBinary<C>
- All Known Implementing Classes:
ComPersistenceAdaptor.Abstract
,ComPersistenceAdaptorBinary.Abstract
,ComPersistenceAdaptorBinary.Default
public interface ComPersistenceAdaptor<C> extends PersistenceTypeDictionaryViewProvider
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ComPersistenceAdaptor.Abstract<C>
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
-
Method Summary
-
Method Details
-
provideTypeDictionary
- Specified by:
provideTypeDictionary
in interfacePersistenceTypeDictionaryProvider
- Specified by:
provideTypeDictionary
in interfacePersistenceTypeDictionaryViewProvider
-
createInitializationFoundation
PersistenceFoundation<?,?> createInitializationFoundation() -
iterateEntityTypes
-
hostInitializationIdStrategy
PersistenceIdStrategy hostInitializationIdStrategy() -
hostIdStrategy
PersistenceIdStrategy hostIdStrategy() -
hostByteOrder
ByteOrder hostByteOrder() -
provideTypeDictionaryCompiler
-
provideHostPersistenceManager
Might return the same instance for all connections or the same for every unique client or a new instance on every call. Depends on the use-case.
The persistence medium type used by the persistence manager is irrelevant on the com-level, hence the "?".- Parameters:
connection
-
-
provideClientPersistenceManager
-
provideHostPersistenceFoundation
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
provideHostPersistenceManager(C)
with a passed non-null connection instance.
SeeprovideTypeDictionaryCompiler()
with a passed null connection instance.- Parameters:
connection
-- See Also:
provideHostPersistenceManager(C)
,provideTypeDictionaryCompiler()
-
provideClientPersistenceFoundation
-
initializePersistenceFoundation
default PersistenceFoundation<?,?> initializePersistenceFoundation(PersistenceTypeDictionaryViewProvider typeDictionaryProvider, ByteOrder targetByteOrder, PersistenceIdStrategy idStrategy) -
createHostChannel
-
createClientChannel
default ComClientChannel<C> createClientChannel(C connection, ComProtocol protocol, ComClient<C> parent) -
persistenceFoundation
PersistenceFoundation<?,?> persistenceFoundation() -
initializeClientPersistenceFoundation
-
initializeHostPersistenceFoundation
-