Package one.microstream.com.binary
Interface ComPersistenceAdaptorBinary<C>
- All Superinterfaces:
- ComPersistenceAdaptor<C>,- PersistenceTypeDictionaryProvider,- PersistenceTypeDictionaryViewProvider
- All Known Implementing Classes:
- ComPersistenceAdaptorBinary.Abstract,- ComPersistenceAdaptorBinary.Default
public interface ComPersistenceAdaptorBinary<C> extends ComPersistenceAdaptor<C>
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classComPersistenceAdaptorBinary.Abstract<C>static interfaceComPersistenceAdaptorBinary.Creator<C>static classComPersistenceAdaptorBinary.DefaultNested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDictionaryProviderPersistenceTypeDictionaryProvider.CachingNested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDictionaryViewProviderPersistenceTypeDictionaryViewProvider.Wrapper
- 
Method SummaryMethods inherited from interface one.microstream.com.ComPersistenceAdaptorcreateClientChannel, createHostChannel, createInitializationFoundation, hostByteOrder, hostIdStrategy, hostInitializationIdStrategy, initializeClientPersistenceFoundation, initializeHostPersistenceFoundation, iterateEntityTypes, provideClientPersistenceFoundation, provideClientPersistenceManager, provideHostPersistenceFoundation, provideHostPersistenceManager, provideTypeDictionary, provideTypeDictionaryCompiler
- 
Method Details- 
initializePersistenceFoundationdefault BinaryPersistenceFoundation<?> initializePersistenceFoundation(PersistenceTypeDictionaryViewProvider typeDictionaryProvider, ByteOrder hostByteOrder, PersistenceIdStrategy idStrategy)- Specified by:
- initializePersistenceFoundationin interface- ComPersistenceAdaptor<C>
 
- 
persistenceFoundationBinaryPersistenceFoundation<?> persistenceFoundation()- Specified by:
- persistenceFoundationin interface- ComPersistenceAdaptor<C>
 
- 
Newstatic ComPersistenceAdaptorBinary.Default New(BinaryPersistenceFoundation<?> foundation, BufferSizeProvider bufferSizeProvider, PersistenceIdStrategy hostInitIdStrategy, XGettingEnum<Class<?>> entityTypes, ByteOrder hostByteOrder, PersistenceIdStrategy hostIdStrategy)
- 
CreatorCallsCreator(BinaryPersistenceFoundation)with the Com-specific modfications set:
 PersistenceContextDispatcher.LocalObjectRegistration()
 PersistenceSizedArrayLengthController.Fitting()
 based on the followig rationale:
 PersistenceContextDispatcher.LocalObjectRegistration: 
 Communication normally doesn't update a central/global object registry (= object graph) directly, but uses a local one that is discarded after every message. In case this shall change, a custom-configured foundation can be passed instead.PersistenceSizedArrayLengthController.Fitting: 
 Sized arrays shouldn't be unrestricted in length for use in comm. in order to prevent array bombs.These aspects should be considered to be replicated when calling Creator(BinaryPersistenceFoundation)directly to pass an externally definedBinaryPersistenceFoundationinstance.
- 
Creatorstatic ComPersistenceAdaptorBinary.Creator.Default Creator(BinaryPersistenceFoundation<?> foundation)
- 
Creatorstatic ComPersistenceAdaptorBinary.Creator.Default Creator(BinaryPersistenceFoundation<?> foundation, BufferSizeProvider bufferSizeProvider)
 
-