Package one.microstream.com.binary
Class ComPersistenceChannelBinary.Default
java.lang.Object
one.microstream.com.ComPersistenceChannel.Abstract<C,Binary>
one.microstream.com.binary.ComPersistenceChannelBinary.Abstract<SocketChannel>
one.microstream.com.binary.ComPersistenceChannelBinary.Default
- All Implemented Interfaces:
ComPersistenceChannelBinary<SocketChannel>,ComPersistenceChannel<SocketChannel,Binary>,PersistenceChannel<Binary>,PersistenceSource<Binary>,PersistenceTarget<Binary>
- Enclosing interface:
- ComPersistenceChannelBinary<C>
public static final class ComPersistenceChannelBinary.Default extends ComPersistenceChannelBinary.Abstract<SocketChannel>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.com.ComPersistenceChannel
ComPersistenceChannel.Abstract<C,D>Nested classes/interfaces inherited from interface one.microstream.com.binary.ComPersistenceChannelBinary
ComPersistenceChannelBinary.Abstract<C>, ComPersistenceChannelBinary.Default -
Constructor Summary
Constructors Constructor Description Default() -
Method Summary
Modifier and Type Method Description voidcloseSource()Take actions to deactivate/close/destroy the source because it won't be read again.voidcloseTarget()Take actions to deactivate/close/destroy the target because it won't be written to again.voidprepareSource()Prepare to read from this source.voidprepareTarget()Prepare to write to this target.Methods inherited from class one.microstream.com.ComPersistenceChannel.Abstract
closeChannel, prepareChannel, read, readByObjectIds, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface one.microstream.persistence.types.PersistenceChannel
closeChannel, prepareChannelMethods inherited from interface one.microstream.persistence.types.PersistenceSource
read, readByObjectIds
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
prepareSource
public void prepareSource()Description copied from interface:PersistenceSourcePrepare to read from this source. E.g. open a defined file.- Specified by:
prepareSourcein interfacePersistenceSource<Binary>- Specified by:
prepareSourcein classComPersistenceChannel.Abstract<SocketChannel,Binary>
-
prepareTarget
public void prepareTarget()Description copied from interface:PersistenceTargetPrepare to write to this target. E.g. open a defined file.- Specified by:
prepareTargetin interfacePersistenceTarget<Binary>- Specified by:
prepareTargetin classComPersistenceChannel.Abstract<SocketChannel,Binary>
-
closeSource
public void closeSource()Description copied from interface:PersistenceSourceTake actions to deactivate/close/destroy the source because it won't be read again.- Specified by:
closeSourcein interfacePersistenceSource<Binary>- Specified by:
closeSourcein classComPersistenceChannel.Abstract<SocketChannel,Binary>
-
closeTarget
public void closeTarget()Description copied from interface:PersistenceTargetTake actions to deactivate/close/destroy the target because it won't be written to again.- Specified by:
closeTargetin interfacePersistenceTarget<Binary>- Specified by:
closeTargetin classComPersistenceChannel.Abstract<SocketChannel,Binary>
-