org.sapia.ubik.rmi.server.gc
Interface ClientGCMBean

All Known Implementing Classes:
ClientGC

public interface ClientGCMBean


Method Summary
 int getBatchSize()
           
 double getForcedGcPerHour()
           
 double getGcPerMin()
           
 long getInterval()
           
 int getLastGcCount()
           
 java.util.Date getLastPingDate()
           
 int getRemoteObjectCount()
           
 int getThreshold()
           
 void setBatchSize(int batchSize)
           
 void setThreshold(int t)
           
 

Method Detail

getInterval

long getInterval()
See Also:
Consts.CLIENT_GC_INTERVAL

getBatchSize

int getBatchSize()
See Also:
Consts.CLIENT_GC_BATCHSIZE

setBatchSize

void setBatchSize(int batchSize)

getThreshold

int getThreshold()
See Also:
Consts.CLIENT_GC_THRESHOLD

setThreshold

void setThreshold(int t)

getRemoteObjectCount

int getRemoteObjectCount()
Returns:
the current number of remote objects referred to by the client GC.

getLastPingDate

java.util.Date getLastPingDate()
Returns:
the Date at which the Client GC last contacted the server(s).

getLastGcCount

int getLastGcCount()
Returns:
the number of remote objects that were GC'ed at the last run.

getGcPerMin

double getGcPerMin()
Returns:
the number of remote objects that are cleaned up by the Client GC, per hour.

getForcedGcPerHour

double getForcedGcPerHour()
Returns:
the number times explicity JVM GC is triggered, per hour (according to threshold).
See Also:
getThreshold()


Copyright © 2010 Sapia OSS. All Rights Reserved.