public final class ServerStatisticABO extends AbstractSingletonABO<ClientContext,ServerContext,ServerStatisticABO>
ServerStatistic
instance to clients.
It contains a thread that updates the accessing clients in regular time frames.Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_REFRESH_DELAY |
Constructor and Description |
---|
ServerStatisticABO(ClientContext clientCtx) |
ServerStatisticABO(ServerContext serverCtx) |
Modifier and Type | Method and Description |
---|---|
ServerStatisticABO |
fetch(boolean withLock) |
ServerStatistic |
getServerStatistic() |
boolean |
isCacheResident()
Overridden to make singleton ABOs cache-resident by default
|
protected void |
overtakeABOValues(ServerStatisticABO newABO)
Must be implemented by subclasses to copy their instance values
|
void |
start() |
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
createEditDialog, createPrimaryKey, getRenderIcon, instantiateOnServer
addChangeListener, clone, compareTo, copyABOValues, create, createChangeGate, createOnServer, createPermissionDefinition, deepClone, delete, deleteOnServer, drop, dropOnServer, equals, fetch, findCachedABOs, fireABOInitialized, getPermissionDefinition, getPrimaryKey, getRenderColor, getRenderText, getResourceName, getResourceType, getUpdateCount, hashCode, isbeingAccessed, isLockedByMe, isNumb, isOnline, isVisibleInClientMonitor, receivedUpdateEvent, refetch, removeChangeListener, setLocked, setNumb, update, update, updateOnServer
getLastAccessedTs, getLastAccessorId, setLastAccessorId
checkOnClient, checkOnServer, getClientContext, getLogChannel, getServerContext, isLogDebug, isLogVerbose, isOnClient, isOnServer, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setClientContext, setLogChannel, setServerContext
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
isOnClient, isOnServer, setClientContext, setServerContext
getClientContext
getServerContext
toDumpString, toString
getLastAccessedTs, getLastAccessorId, setLastAccessorId
public static final int DEFAULT_REFRESH_DELAY
public ServerStatisticABO(ServerContext serverCtx)
public ServerStatisticABO(ClientContext clientCtx)
public void start()
public ServerStatistic getServerStatistic()
protected void overtakeABOValues(ServerStatisticABO newABO)
AbstractABO
overtakeABOValues
in class AbstractABO<ClientContext,ServerContext,ServerStatisticABO>
public final boolean isCacheResident()
AbstractSingletonABO
isCacheResident
in interface AliveBusinessObject<ClientContext,ServerContext,ServerStatisticABO>
isCacheResident
in class AbstractSingletonABO<ClientContext,ServerContext,ServerStatisticABO>
public ServerStatisticABO fetch(boolean withLock) throws java.lang.Exception
fetch
in class AbstractSingletonABO<ClientContext,ServerContext,ServerStatisticABO>
java.lang.Exception
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class AbstractABO<ClientContext,ServerContext,ServerStatisticABO>
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class AbstractABO<ClientContext,ServerContext,ServerStatisticABO>
Copyright © 2014 EsprIT-Systems. All Rights Reserved.