|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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)
|
org.jini.rio.watch.Watch |
getWatch(java.lang.String watchID)
Get a Watch which matches the ID provided |
org.jini.rio.watch.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(org.jini.rio.watch.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 GigaSpaceWorker
GigaSpaceWorker.setID(int)
public int getID()
public void setSpace(net.jini.space.JavaSpace space)
GigaSpaceWorker
setSpace
in interface GigaSpaceWorker
GigaSpaceWorker.setSpace(JavaSpace)
public net.jini.space.JavaSpace getSpace()
public org.jini.rio.watch.Watch getWatch(java.lang.String watchID)
Watch
which matches the ID provided
watchID
- The identifier for a Watch
public void setWatchRegistry(org.jini.rio.watch.WatchRegistry watchRegistry)
GigaSpaceWorker
WatchRegistry
setWatchRegistry
in interface GigaSpaceWorker
GigaSpaceWorker.setWatchRegistry(org.jini.rio.watch.WatchRegistry)
public org.jini.rio.watch.WatchRegistry getWatchRegistry()
GigaSpaceWorker
WatchRegistry
getWatchRegistry
in interface GigaSpaceWorker
GigaSpaceWorker.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.UnusableEntryException
protected java.lang.String getStackTraceAsString(java.lang.Throwable t)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |