Package one.microstream.storage.types
Class EmbeddedStorageBinaryTarget.Default
java.lang.Object
one.microstream.storage.types.EmbeddedStorageBinaryTarget.Default
- All Implemented Interfaces:
WriteController
,PersistenceTarget<Binary>
,PersistenceWriteController
,EmbeddedStorageBinaryTarget
- Enclosing interface:
- EmbeddedStorageBinaryTarget
public static final class EmbeddedStorageBinaryTarget.Default extends Object implements EmbeddedStorageBinaryTarget
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.storage.types.EmbeddedStorageBinaryTarget
EmbeddedStorageBinaryTarget.Default
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceWriteController
PersistenceWriteController.Disabled, PersistenceWriteController.Enabled, PersistenceWriteController.Wrapper
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description boolean
isStoringEnabled()
boolean
isWritable()
void
validateIsStoringEnabled()
void
validateIsWritable()
void
write(Binary data)
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.PersistenceTarget
closeTarget, prepareTarget
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
write
- Specified by:
write
in interfaceEmbeddedStorageBinaryTarget
- Specified by:
write
in interfacePersistenceTarget<Binary>
- Throws:
PersistenceExceptionTransfer
-
validateIsWritable
public final void validateIsWritable()- Specified by:
validateIsWritable
in interfaceWriteController
-
isWritable
public final boolean isWritable()- Specified by:
isWritable
in interfaceWriteController
-
validateIsStoringEnabled
public final void validateIsStoringEnabled()- Specified by:
validateIsStoringEnabled
in interfacePersistenceWriteController
-
isStoringEnabled
public final boolean isStoringEnabled()- Specified by:
isStoringEnabled
in interfacePersistenceWriteController
-