|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gigaspaces.grid.worker.AbstractSpaceWorker
public abstract class AbstractSpaceWorker
The AsbtractSpaceWorker provides a framework upon which to build support for a GigaSpaceWorker.
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT
|
| Constructor Summary | |
|---|---|
AbstractSpaceWorker()
|
|
| Method Summary | |
|---|---|
long |
getBackLog(net.jini.space.JavaSpace space,
net.jini.core.entry.Entry template)
Get the backlog from the GigaSpace |
int |
getID()
Get the id |
net.jini.space.JavaSpace |
getSpace()
Get the JavaSpace |
protected java.lang.String |
getStackTraceAsString(java.lang.Throwable t)
|
Watch |
getWatch(java.lang.String watchID)
Get a Watch which matches the ID provided |
WatchRegistry |
getWatchRegistry()
Get the the WatchRegistry |
void |
setID(int id)
Set the identifier for the GigaSpaceWorker |
void |
setSpace(net.jini.space.JavaSpace space)
Set the JavaSpace for the worker. |
void |
setWatchRegistry(WatchRegistry watchRegistry)
Set the WatchRegistry |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.gigaspaces.grid.worker.GigaSpaceWorker |
|---|
shutdown |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Field Detail |
|---|
public static final java.lang.String COMPONENT
| Constructor Detail |
|---|
public AbstractSpaceWorker()
| Method Detail |
|---|
public void setID(int id)
GigaSpaceWorker
setID in interface GigaSpaceWorkerGigaSpaceWorker.setID(int)public int getID()
public void setSpace(net.jini.space.JavaSpace space)
GigaSpaceWorker
setSpace in interface GigaSpaceWorkerGigaSpaceWorker.setSpace(JavaSpace)public net.jini.space.JavaSpace getSpace()
public Watch getWatch(java.lang.String watchID)
Watch which matches the ID provided
watchID - The identifier for a Watch
public void setWatchRegistry(WatchRegistry watchRegistry)
GigaSpaceWorkerWatchRegistry
setWatchRegistry in interface GigaSpaceWorkerGigaSpaceWorker.setWatchRegistry(org.jini.rio.watch.WatchRegistry)public WatchRegistry getWatchRegistry()
GigaSpaceWorkerWatchRegistry
getWatchRegistry in interface GigaSpaceWorkerGigaSpaceWorker.getWatchRegistry()
public long getBackLog(net.jini.space.JavaSpace space,
net.jini.core.entry.Entry template)
throws java.rmi.RemoteException,
net.jini.core.transaction.TransactionException,
net.jini.core.entry.UnusableEntryException
space - - The Spacetemplate - - Template
java.rmi.RemoteException
net.jini.core.transaction.TransactionException
net.jini.core.entry.UnusableEntryExceptionprotected java.lang.String getStackTraceAsString(java.lang.Throwable t)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||