org.jboss.ejb.plugins
Interface AbstractInstanceCacheMBean

All Known Subinterfaces:
EntityInstanceCacheMBean
All Known Implementing Classes:
AbstractInstanceCache, EntityInstanceCache, InvalidableEntityInstanceCache, StatefulSessionInstanceCache

public interface AbstractInstanceCacheMBean

MBean interface.


Method Summary
 void flush()
          Flush the cache.
 String getCachePolicyString()
          Display the cache policy.
 long getCacheSize()
          Get the current cache size
 long getPassivatedCount()
          Get the passivated count.
 void remove(Object id)
          From InstanceCache interface
 

Method Detail

remove

void remove(Object id)
From InstanceCache interface


getCacheSize

long getCacheSize()
Get the current cache size

Returns:
the size of the cache

flush

void flush()
Flush the cache.


getPassivatedCount

long getPassivatedCount()
Get the passivated count.

Returns:
the number of passivated instances.

getCachePolicyString

String getCachePolicyString()
Display the cache policy.

Returns:
the cache policy as a string.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.