public interface ComPersistenceAdaptorBinary<C> extends ComPersistenceAdaptor<C>
| Modifier and Type | Interface and Description |
|---|---|
static class |
ComPersistenceAdaptorBinary.Abstract<C> |
static interface |
ComPersistenceAdaptorBinary.Creator<C> |
static class |
ComPersistenceAdaptorBinary.Default |
| Modifier and Type | Method and Description |
|---|---|
static ComPersistenceAdaptorBinary.Creator.Default |
Creator()
Calls
Creator(BinaryPersistenceFoundation) with the Com-specific
modfications set:PersistenceContextDispatcher.LocalObjectRegistration() PersistenceSizedArrayLengthController.Fitting() based on the followig rationale: |
static ComPersistenceAdaptorBinary.Creator.Default |
Creator(BinaryPersistenceFoundation<?> foundation) |
static ComPersistenceAdaptorBinary.Creator.Default |
Creator(BinaryPersistenceFoundation<?> foundation,
one.microstream.util.BufferSizeProvider bufferSizeProvider) |
default BinaryPersistenceFoundation<?> |
initializePersistenceFoundation(one.microstream.persistence.types.PersistenceTypeDictionaryViewProvider typeDictionaryProvider,
ByteOrder hostByteOrder,
one.microstream.persistence.types.PersistenceIdStrategy idStrategy) |
static ComPersistenceAdaptorBinary.Default |
New(BinaryPersistenceFoundation<?> foundation,
one.microstream.util.BufferSizeProvider bufferSizeProvider,
one.microstream.persistence.types.PersistenceIdStrategy hostInitIdStrategy,
one.microstream.collections.types.XGettingEnum<Class<?>> entityTypes,
ByteOrder hostByteOrder,
one.microstream.persistence.types.PersistenceIdStrategy hostIdStrategy) |
BinaryPersistenceFoundation<?> |
persistenceFoundation() |
createClientChannel, createHostChannel, createInitializationFoundation, hostByteOrder, hostIdStrategy, hostInitializationIdStrategy, initializeClientPersistenceFoundation, initializeHostPersistenceFoundation, iterateEntityTypes, provideClientPersistenceFoundation, provideClientPersistenceManager, provideHostPersistenceFoundation, provideHostPersistenceManager, provideTypeDictionary, provideTypeDictionaryCompilerdefault BinaryPersistenceFoundation<?> initializePersistenceFoundation(one.microstream.persistence.types.PersistenceTypeDictionaryViewProvider typeDictionaryProvider, ByteOrder hostByteOrder, one.microstream.persistence.types.PersistenceIdStrategy idStrategy)
initializePersistenceFoundation in interface ComPersistenceAdaptor<C>BinaryPersistenceFoundation<?> persistenceFoundation()
persistenceFoundation in interface ComPersistenceAdaptor<C>static ComPersistenceAdaptorBinary.Default New(BinaryPersistenceFoundation<?> foundation, one.microstream.util.BufferSizeProvider bufferSizeProvider, one.microstream.persistence.types.PersistenceIdStrategy hostInitIdStrategy, one.microstream.collections.types.XGettingEnum<Class<?>> entityTypes, ByteOrder hostByteOrder, one.microstream.persistence.types.PersistenceIdStrategy hostIdStrategy)
static ComPersistenceAdaptorBinary.Creator.Default Creator()
Creator(BinaryPersistenceFoundation) with the Com-specific
modfications set:
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 defined
BinaryPersistenceFoundation instance.
static ComPersistenceAdaptorBinary.Creator.Default Creator(BinaryPersistenceFoundation<?> foundation)
static ComPersistenceAdaptorBinary.Creator.Default Creator(BinaryPersistenceFoundation<?> foundation, one.microstream.util.BufferSizeProvider bufferSizeProvider)
Copyright © 2021 MicroStream Software. All rights reserved.