- All Superinterfaces:
 
PersistenceWriteController, WriteController 
- All Known Subinterfaces:
 
ComPersistenceChannel<C,D>, ComPersistenceChannelBinary<C>, EmbeddedStorageBinaryTarget, PersistenceChannel<D> 
- All Known Implementing Classes:
 
BinaryFileTarget, BinaryStorageChannel, ComPersistenceChannel.Abstract, ComPersistenceChannelBinary.Abstract, ComPersistenceChannelBinary.Default, EmbeddedStorageBinaryTarget.Default 
public interface PersistenceTarget<D>
extends PersistenceWriteController
- 
 
- 
Method Summary
| Modifier and Type | 
Method | 
Description | 
default void | 
closeTarget() | 
 Take actions to deactivate/close/destroy the target because it won't be written to again. 
 | 
default void | 
prepareTarget() | 
 Prepare to write to this target. 
 | 
void | 
write(D data) | 
  | 
 
 
 
- 
Method Details
- 
 
- 
default void prepareTarget()
Prepare to write to this target. E.g. open a defined file.
 
- 
default void closeTarget()
Take actions to deactivate/close/destroy the target because it won't be written to again.