org.jboss.virtual.spi.cache
Interface CacheStatistics

All Known Implementing Classes:
AbstractVFSCache, CachePolicyVFSCache, CombinedVFSCache, IterableTimedVFSCache, IterableVFSCache, LRUVFSCache, MapVFSCache, PathMatchingVFSCache, SoftRefVFSCache, TimedVFSCache, WeakRefVFSCache

public interface CacheStatistics

Simple vfs cache statistics

Author:
Ales Justin

Method Summary
 Iterable<VFSContext> getCachedContexts()
          Get cached contexts.
 long lastInsert()
          Get last insert timestamp.
 int size()
          Get cache size.
 

Method Detail

getCachedContexts

Iterable<VFSContext> getCachedContexts()
Get cached contexts.

Returns:
the cached contexts

size

int size()
Get cache size.

Returns:
the cache size

lastInsert

long lastInsert()
Get last insert timestamp.

Returns:
the last insert timestamp


Copyright © 2010 JBoss, A division of Red Hat, Inc. All Rights Reserved.