java.lang.Object
io.xpipe.core.util.JacksonizedValue
io.xpipe.core.store.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.toString()Methods inherited from class io.xpipe.core.util.JacksonizedValue
equals, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.xpipe.core.store.DataStore
asNeeded, checkComplete, isComplete, isInStorageMethods inherited from interface io.xpipe.core.store.StreamDataStore
canOpen, getFlow, openBufferedInput
-
Constructor Details
-
InMemoryStore
public InMemoryStore()
-
-
Method Details
-
toString
- Overrides:
toStringin classJacksonizedValue
-
isContentExclusivelyAccessible
public boolean isContentExclusivelyAccessible()Description copied from interface:StreamDataStoreIndicates 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 interfaceStreamDataStore- See Also:
-
openInput
Description copied from interface:StreamDataStoreOpens an input stream that can be used to read its data.- Specified by:
openInputin interfaceStreamDataStore
-
openOutput
Description copied from interface:StreamDataStoreOpens an output stream that can be used to write data.- Specified by:
openOutputin interfaceStreamDataStore
-