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 classComPersistenceAdaptor.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 - 
Method Summary
 
- 
Method Details
- 
provideTypeDictionary
- Specified by:
 provideTypeDictionaryin interfacePersistenceTypeDictionaryProvider- Specified by:
 provideTypeDictionaryin 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 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
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
 
 -