public class DurableServiceWorkerImpl extends Object implements IPrivilegeWorker
| Modifier and Type | Field and Description | 
|---|---|
| static String | NUMBER_OF_DURABLE_SUBSCRIBERS | 
| static String | NUMBER_OF_MONITORED_TOPICS | 
| Constructor and Description | 
|---|
| DurableServiceWorkerImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()This method should close by proper way the initialized worker, include all internal worker's
 Threads. | 
| Properties | getInfo() | 
| void | init(IJSpace proxy,
    String workerName,
    String arg)This method will be called on space initialization. | 
| void | run() | 
public static final String NUMBER_OF_MONITORED_TOPICS
public static final String NUMBER_OF_DURABLE_SUBSCRIBERS
public void init(IJSpace proxy, String workerName, String arg) throws Exception
IPrivilegeWorkerinit in interface IPrivilegeWorkerinit in interface IWorkerproxy - Space proxy.workerName - Worker name.arg - Any user defined argument.Exception - Failed to initialize worker.public Properties getInfo()
public void close()
IWorkerCopyright © GigaSpaces.