| Modifier and Type | Method and Description |
|---|---|
void |
addCalculable(Calculable calculable)
Add a Calculable record to the Calculable history
|
void |
clear()
Clears the history
|
void |
close()
Closes the watch data source and unexports it from the runtime
|
Calculable[] |
getCalculable()
Get all Calculable records from the Calculable history
|
Calculable[] |
getCalculable(int offset,
int length)
Get Calculable records from the Calculable history for the specified range
|
Calculable[] |
getCalculable(String id)
Get Calculable records from the Calculable history
|
Calculable[] |
getCalculable(String id,
int offset,
int length)
Get Calculable records from the Calculable history
|
int |
getCurrentSize()
Get the current size for the Caclulable history
|
String |
getID()
Get the ID for the WatchDataSource
|
Calculable |
getLastCalculable()
Gets the last Calculable from the history
|
Calculable |
getLastCalculable(String id)
Gets the last Calculable from the history
|
int |
getOffset()
Get the offset
|
int |
getSize()
Get the maximum size for the Calculable history
|
ThresholdValues |
getThresholdValues()
Getter for property thresholdValues.
|
String |
getView()
Getter for property view.
|
void |
setSize(int size)
Set the maximum size for the Calculable history
|
void |
setThresholdValues(ThresholdValues tValues)
Set the ThresholdValues
|
void |
setView(String view)
Setter for property view.
|
String getID() throws RemoteException
RemoteExceptionint getOffset()
throws RemoteException
RemoteExceptionvoid setSize(int size)
throws RemoteException
size - The maximum size for the Calculable historyRemoteExceptionint getSize()
throws RemoteException
RemoteExceptionvoid clear()
throws RemoteException
RemoteExceptionint getCurrentSize()
throws RemoteException
RemoteExceptionvoid addCalculable(Calculable calculable) throws RemoteException
calculable - The Calculable recordRemoteExceptionCalculable[] getCalculable() throws RemoteException
RemoteExceptionCalculable[] getCalculable(String id) throws RemoteException
id - The Watch identifier to matchRemoteExceptionCalculable[] getCalculable(int offset, int length) throws RemoteException
offset - The index of the first record to fetchlength - The number of records to returnRemoteExceptionCalculable[] getCalculable(String id, int offset, int length) throws RemoteException
id - The Watch identifier to matchoffset - The index of the first record to matchlength - The number of records to compareRemoteExceptionCalculable getLastCalculable() throws RemoteException
RemoteExceptionCalculable getLastCalculable(String id) throws RemoteException
id - The Watch identifier to matchRemoteExceptionThresholdValues getThresholdValues() throws RemoteException
RemoteExceptionvoid setThresholdValues(ThresholdValues tValues) throws RemoteException
RemoteExceptionvoid close()
throws RemoteException
RemoteExceptionvoid setView(String view) throws RemoteException
view - The view class name, suitable for Class.forNameRemoteExceptionString getView() throws RemoteException
RemoteExceptionCopyright © GigaSpaces.