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.modeshape.graph.connector.base.cache
Interface CacheStatistics

All Known Implementing Classes:
  DefaultCacheStatistics

    public interface CacheStatistics

This interface provides access to statistics for an individual workspace cache.

Method Summary
`long` | `getExpirations()`
`long` | `getHits()`
`long` | `getMisses()`
`long` | `getWrites()`

Method Detail

### getWrites

    long getWrites()

  Returns:
    the number of times that a node was written to the cache

### getHits

    long getHits()

  Returns:
    the number of times that a node was retrieved from the cache

### getMisses

    long getMisses()

  Returns:
    the number of times that an attempt to retrieve a node from the cache failed because the node was not yet in the cache.

### getExpirations

    long getExpirations()

  Returns:
    the number of times that an attempt to retrieve a node from the cache failed because the node had previously been placed in the cache, but the time to live for the node in the cache had expired

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

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.