java.lang.Object
io.xpipe.core.util.JacksonizedValue
io.xpipe.core.impl.InMemoryStore
- All Implemented Interfaces:
DataStore,StreamDataStore
A store whose contents are stored in memory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether this data store can only be accessed by the current running application.Opens an input stream that can be used to read its data.Opens an output stream that can be used to write data.Methods inherited from class io.xpipe.core.util.JacksonizedValue
equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.xpipe.core.store.DataStore
asNeeded, canOpen, checkComplete, delete, determineDefaultName, determineLastModified, getFlow, isComplete, validateMethods inherited from interface io.xpipe.core.store.StreamDataStore
openBufferedInput
-
Constructor Details
-
InMemoryStore
public InMemoryStore(byte[] value)
-
-
Method Details
-
isContentExclusivelyAccessible
public boolean isContentExclusivelyAccessible()Description copied from interface:DataStoreIndicates whether this data store can only be accessed by the current running application. One example are standard in and standard out stores.- Specified by:
isContentExclusivelyAccessiblein interfaceDataStore- See Also:
-
openInput
Description copied from interface:StreamDataStoreOpens an input stream that can be used to read its data.- Specified by:
openInputin interfaceStreamDataStore- Throws:
Exception
-
openOutput
Description copied from interface:StreamDataStoreOpens an output stream that can be used to write data.- Specified by:
openOutputin interfaceStreamDataStore- Throws:
Exception
-