站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

AbstractInstanceCacheMBean (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.ejb.plugins
Interface AbstractInstanceCacheMBean

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

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

public void remove(Object id)
From InstanceCache interface


getCacheSize

public long getCacheSize()
Get the current cache size

Returns:
the size of the cache

flush

public void flush()
Flush the cache.


getPassivatedCount

public long getPassivatedCount()
Get the passivated count.

Returns:
the number of passivated instances.

getCachePolicyString

public String getCachePolicyString()
Display the cache policy.

Returns:
the cache policy as a string.


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