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

## org.apache.cocoon.profiling.data
Interface ProfilingDataHolder

All Known Implementing Classes:
  EhCacheProfilingDataHolder

    public interface ProfilingDataHolder

Interface for the storage layer of the profiling module. Supports storage and retrieval of `ProfilingData` objects based on a key.

The stored `ProfilingData` objects may be discarded at any point in time.

Method Summary
`ProfilingData` | `get(String id)` Retrieve the `ProfilingData` objects stored with the given id as key.
`void` | `store(String id, ProfilingData data)` Store the given `ProfilingData` objects using the given id as key.

Method Detail

### store

    void store(String id,
               ProfilingData data)

  Store the given `ProfilingData` objects using the given id as key.

  Parameters:
    `id` -
    `data` -

### get

    ProfilingData get(String id)

  Retrieve the `ProfilingData` objects stored with the given id as key.

  Parameters:
    `id` -
  Returns:
    the `ProfilingData` stored with the given id as key or null if there is no mapping for the given id.

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

Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.