DocumentCache
Date: 2013-06-18

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gcube.contentmanagement.gcubedocumentlibrary.io
Interface DocumentCache

All Known Implementing Classes:
  SimpleLRUCache

    public interface DocumentCache

A cache of `GCubeDocument`s to use with `CachingReader`s.

Author:
  Fabio Simeoni (University of Strathclyde)

Method Summary
`GCubeDocument` | `get(java.lang.String id)` Returns a document description from the cache if it exists;
`void` | `put(GCubeDocument doc)` Put a document description in the cache.

Method Detail

### get

    GCubeDocument get(java.lang.String id)

  Returns a document description from the cache if it exists;

  Parameters:
    `id` - the identifier of the description.
  Returns:
    the description.

### put

    void put(GCubeDocument doc)

  Put a document description in the cache.

  Parameters:
    `doc` - the document

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD