org.jboss.deployment.vfs
Class VFSCacheStatistics

java.lang.Object
  extended by org.jboss.deployment.vfs.VFSCacheStatistics
All Implemented Interfaces:
VFSCacheStatisticsMBean

public class VFSCacheStatistics
extends Object
implements VFSCacheStatisticsMBean

Simple vfs cache statistics.

Author:
Ales Justin

Constructor Summary
VFSCacheStatistics()
           
 
Method Summary
 String cacheToString()
          Get cache impl to string info.
 Date lastInsert()
          Get last insert timestamp.
 String listCachedContexts()
          List cached contexts.
 int size()
          Get cache size.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VFSCacheStatistics

public VFSCacheStatistics()
Method Detail

listCachedContexts

public String listCachedContexts()
Description copied from interface: VFSCacheStatisticsMBean
List cached contexts.

Specified by:
listCachedContexts in interface VFSCacheStatisticsMBean
Returns:
the cached contexts table

size

public int size()
Description copied from interface: VFSCacheStatisticsMBean
Get cache size.

Specified by:
size in interface VFSCacheStatisticsMBean
Returns:
the cache size.

lastInsert

public Date lastInsert()
Description copied from interface: VFSCacheStatisticsMBean
Get last insert timestamp.

Specified by:
lastInsert in interface VFSCacheStatisticsMBean
Returns:
the last insert timestamp

cacheToString

public String cacheToString()
Description copied from interface: VFSCacheStatisticsMBean
Get cache impl to string info.

Specified by:
cacheToString in interface VFSCacheStatisticsMBean
Returns:
cache to string info

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.