Interface DataStore

All Known Subinterfaces:
ExpandedLifecycleStore, FilenameStore, FileSystemStore, FixedChildStore, InternalCacheDataStore, KnownFormatStreamDataStore, LaunchableStore, ShellStore, StatefulDataStore<T>, StreamDataStore, ValidatableStore
All Known Implementing Classes:
FileStore, InMemoryStore, InputStreamStore, LocalStore, OutputStreamStore, StdinDataStore, StdoutDataStore

public interface DataStore
A data store represents some form of a location where data is stored, e.g. a file or a database. It does not contain any information on what data is stored, how the data is stored inside, or what part of the data store makes up the actual data source.
  • Method Summary

    Modifier and Type
    Method
    Description
    default <DS extends DataStore>
    DS
    Casts this instance to the required type without checking whether a cast is possible.
    default void
     
    default boolean
     
    default boolean
     
  • Method Details

    • isInStorage

      default boolean isInStorage()
    • isComplete

      default boolean isComplete()
    • checkComplete

      default void checkComplete() throws Exception
      Throws:
      Exception
    • asNeeded

      default <DS extends DataStore> DS asNeeded()
      Casts this instance to the required type without checking whether a cast is possible.