|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageCacheMBean
MBean interface.
| Field Summary | |
|---|---|
static javax.management.ObjectName |
OBJECT_NAME
|
| Fields inherited from interface org.jboss.system.ServiceMBean |
|---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Method Summary | |
|---|---|
long |
getCacheHits()
Gets the cacheHits |
long |
getCacheMisses()
Gets the cacheMisses |
javax.management.ObjectName |
getCacheStore()
The getCacheStore method |
long |
getCurrentMemoryUsage()
Gets the CurrentMemoryUsage |
int |
getHardRefCacheSize()
Gets the hardRefCacheSize |
long |
getHighMemoryMark()
Gets the highMemoryMark |
MessageCache |
getInstance()
The getInstance method |
boolean |
getMakeSoftReferences()
Gets whether to make soft references |
int |
getMaximumHard()
Gets the maximum number of hard messages |
long |
getMaxMemoryMark()
Gets the maxMemoryMark |
int |
getMinimumHard()
Gets the minimum number of hard messages |
long |
getSoftenAtLeastEveryMillis()
Gets the maximum length between softening checks |
long |
getSoftenedSize()
The getSoftenedSize method |
long |
getSoftenNoMoreOftenThanMillis()
Gets the minimum length between softening checks |
long |
getSoftenWaitMillis()
Gets the length of time to wait before checking whether we should soften |
int |
getSoftRefCacheSize()
Gets the softRefCacheSize |
int |
getTotalCacheSize()
Gets the totalCacheSize |
void |
setCacheStore(javax.management.ObjectName cacheStoreName)
|
void |
setHighMemoryMark(long highMemoryMark)
Sets the highMemoryMark |
void |
setMakeSoftReferences(boolean makeSoftReferences)
Sets whether to make soft references |
void |
setMaximumHard(int maximumHard)
Sets the maximum number of hard messages |
void |
setMaxMemoryMark(long maxMemoryMark)
Sets the maxMemoryMark |
void |
setMinimumHard(int minimumHard)
Sets the minimum number of hard messages |
void |
setSoftenAtLeastEveryMillis(long millis)
Sets the minimum length between softening checks |
void |
setSoftenNoMoreOftenThanMillis(long millis)
Sets the minimum length between softening checks |
void |
setSoftenWaitMillis(long millis)
Sets the length of time to wait before checking whether we should soften |
| Methods inherited from interface org.jboss.system.ServiceMBean |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Field Detail |
|---|
static final javax.management.ObjectName OBJECT_NAME
| Method Detail |
|---|
MessageCache getInstance()
getInstance method
MessageCache valueint getHardRefCacheSize()
long getSoftenedSize()
getSoftenedSize method
long valueint getSoftRefCacheSize()
int getTotalCacheSize()
long getCacheMisses()
long getCacheHits()
boolean getMakeSoftReferences()
void setMakeSoftReferences(boolean makeSoftReferences)
true - to make soft referencesint getMinimumHard()
void setMinimumHard(int minimumHard)
minimumHard - the minimum number of hard messagesint getMaximumHard()
void setMaximumHard(int maximumHard)
maximumHard - the maximum number of hard messageslong getSoftenWaitMillis()
void setSoftenWaitMillis(long millis)
millis - the time to wait in millislong getSoftenNoMoreOftenThanMillis()
void setSoftenNoMoreOftenThanMillis(long millis)
wait - the time between checkslong getSoftenAtLeastEveryMillis()
void setSoftenAtLeastEveryMillis(long millis)
wait - the time between checkslong getHighMemoryMark()
void setHighMemoryMark(long highMemoryMark)
highMemoryMark - The highMemoryMark to setlong getMaxMemoryMark()
void setMaxMemoryMark(long maxMemoryMark)
maxMemoryMark - The maxMemoryMark to setlong getCurrentMemoryUsage()
void setCacheStore(javax.management.ObjectName cacheStoreName)
javax.management.ObjectName getCacheStore()
getCacheStore method
ObjectName value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||