Interface WritableTickDB

  • All Superinterfaces:
    deltix.util.io.AbstractDataStore, java.lang.AutoCloseable, java.io.Closeable, deltix.util.lang.Disposable, TickDB
    All Known Subinterfaces:
    DXTickDB, RemoteTickDB
    All Known Implementing Classes:
    DirectTickDBClient, SecuredDbClient, TickDBClient, UserDBClient

    public interface WritableTickDB
    extends TickDB

    The top-level interface to the Deltix Tic Database engine. Instances of this interface are created by static methods of TickDBFactory.

    At the physical level, a database consists of a number of folders (directories) on the hard disk. While the database is closed, the files can be freely moved around in order to manage disk space and/or take advantage of parallel access to several hard disk devices. It is even possible to increase or reduce the number of folders, as long as all necessary folders are supplied when a database instance is constructed. While a database is open, external processes must obviously not interfere with the files.

    • Method Detail

      • getStream

        WritableTickStream getStream​(java.lang.String key)
        Looks up an existing stream by key.
        Specified by:
        getStream in interface TickDB
        Parameters:
        key - Identifies the stream.
        Returns:
        A stream object, or null if the key was not found.
        Throws:
        java.security.AccessControlException - when user is not authorized to READ given stream