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,M>
-
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 void
closeSource()
Take actions to deactivate/close/destroy the source because it won't be read again.void
closeTarget()
Take actions to deactivate/close/destroy the target because it won't be written to again.void
prepareSource()
Prepare to read from this source.void
prepareTarget()
Prepare to write to this target.-
Methods inherited from class one.microstream.com.ComPersistenceChannel.Abstract
closeChannel, prepareChannel, read, readByObjectIds, write
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.microstream.persistence.types.PersistenceChannel
closeChannel, prepareChannel
-
Methods inherited from interface one.microstream.persistence.types.PersistenceSource
read, readByObjectIds
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTarget
write
-
-
-
-
Method Detail
-
prepareSource
public void prepareSource()
Description copied from interface:PersistenceSource
Prepare to read from this source. E.g. open a definedFile
.- Specified by:
prepareSource
in interfacePersistenceSource<Binary>
- Specified by:
prepareSource
in classComPersistenceChannel.Abstract<SocketChannel,Binary>
-
prepareTarget
public void prepareTarget()
Description copied from interface:PersistenceTarget
Prepare to write to this target. E.g. open a definedFile
.- Specified by:
prepareTarget
in interfacePersistenceTarget<Binary>
- Specified by:
prepareTarget
in classComPersistenceChannel.Abstract<SocketChannel,Binary>
-
closeSource
public void closeSource()
Description copied from interface:PersistenceSource
Take actions to deactivate/close/destroy the source because it won't be read again.- Specified by:
closeSource
in interfacePersistenceSource<Binary>
- Specified by:
closeSource
in classComPersistenceChannel.Abstract<SocketChannel,Binary>
-
closeTarget
public void closeTarget()
Description copied from interface:PersistenceTarget
Take actions to deactivate/close/destroy the target because it won't be written to again.- Specified by:
closeTarget
in interfacePersistenceTarget<Binary>
- Specified by:
closeTarget
in classComPersistenceChannel.Abstract<SocketChannel,Binary>
-
-