Interface ContentStoreIF

All Known Implementing Classes:
FileContentStore, InMemoryContentStore, JDBCContentStore, JDBCSequenceContentStore

public interface ContentStoreIF
INTERNAL: A simple content store interface that stores chunks of data associated with an integer key. The underlying implementation is responsible for creating the keys.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    add(InputStream data, int length)
    INTERNAL: Creates an entry for the specified data value.
    int
    INTERNAL: Creates an entry for the specified data value.
    void
    INTERNAL: Closes the content store.
    boolean
    containsKey(int key)
    INTERNAL: Returns true if the content store contains an entry with the specified key.
    get(int key)
    INTERNAL: Gets the data value associated with the specified key.
    boolean
    remove(int key)
    INTERNAL: Removes the entry associated with the key.