|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ora.gui.helper.MemoryThread
public class MemoryThread
Class is being used in two ways.
The package constructor is used in the UI retrieving current data about the memory load.
The public/default constructor is used as a RemoteableFeature providing remote access to memory data.
Constructor Summary | |
---|---|
MemoryThread()
Constructor being use for remote memory feature |
Method Summary | |
---|---|
void |
close()
Stops thread and may disconnects remote access when used |
Reply |
connectRemote(DataClient newDc)
Enables to get memory data from remote JVM |
boolean |
disconnectRemote(boolean switchToLocal)
Disables to get memory data from remote but from local JVM |
java.lang.Object |
getData()
|
ElementController |
getElementController()
|
java.lang.String |
getKey()
|
int |
getRefreshDelay()
|
DataClient |
getRemoteDataClient()
|
CompareableRingList |
getRinglist()
|
int |
getState()
|
boolean |
isRunning()
Gets running flag |
void |
run()
|
void |
setRefreshDelay(int refDelay)
|
void |
setState(int nState)
|
void |
start()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemoryThread()
Method Detail |
---|
public void start()
public DataClient getRemoteDataClient()
public Reply connectRemote(DataClient newDc) throws java.lang.Exception
newDc
-
java.lang.Exception
public boolean disconnectRemote(boolean switchToLocal)
switchToLocal
-
public boolean isRunning()
public void close()
public java.lang.Object getData()
getData
in interface RemoteableFeature
public java.lang.String getKey()
getKey
in interface RemoteableFeature
public void run()
run
in interface java.lang.Runnable
public void setRefreshDelay(int refDelay)
public int getRefreshDelay()
public int getState()
public void setState(int nState)
public ElementController getElementController()
public CompareableRingList getRinglist()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |