public class VisorExecutorServiceConfig extends Object implements Serializable
| Constructor and Description |
|---|
VisorExecutorServiceConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
executeService() |
void |
executeService(String execSvc) |
boolean |
executeServiceShutdown() |
void |
executeServiceShutdown(boolean execSvcShutdown) |
static VisorExecutorServiceConfig |
from(GridConfiguration c) |
String |
p2pExecutorService() |
void |
p2pExecutorService(String p2pExecSvc) |
boolean |
p2pExecutorServiceShutdown() |
void |
p2pExecutorServiceShutdown(boolean p2pExecSvcShutdown) |
String |
restExecutorService() |
void |
restExecutorService(String restExecSvc) |
boolean |
restExecutorServiceShutdown() |
void |
restExecutorServiceShutdown(boolean restSvcShutdown) |
String |
systemExecutorService() |
void |
systemExecutorService(String sysExecSvc) |
boolean |
systemExecutorServiceShutdown() |
void |
systemExecutorServiceShutdown(boolean sysExecSvcShutdown) |
String |
toString() |
public static VisorExecutorServiceConfig from(GridConfiguration c)
c - Grid configuration.public String executeService()
public void executeService(String execSvc)
execSvc - New executor service.public boolean executeServiceShutdown()
public void executeServiceShutdown(boolean execSvcShutdown)
execSvcShutdown - New whether or not GridGain will stop executor service on node shutdown.public String systemExecutorService()
public void systemExecutorService(String sysExecSvc)
sysExecSvc - New system executor service.public boolean systemExecutorServiceShutdown()
public void systemExecutorServiceShutdown(boolean sysExecSvcShutdown)
sysExecSvcShutdown - New whether or not GridGain will stop system executor service on node shutdown.public String p2pExecutorService()
public void p2pExecutorService(String p2pExecSvc)
p2pExecSvc - New peer-to-peer executor service.public boolean p2pExecutorServiceShutdown()
public void p2pExecutorServiceShutdown(boolean p2pExecSvcShutdown)
p2pExecSvcShutdown - New whether or not GridGain will stop peer-to-peer executor service on node shutdown.public String restExecutorService()
public void restExecutorService(String restExecSvc)
restExecSvc - New REST requests executor service.public boolean restExecutorServiceShutdown()
public void restExecutorServiceShutdown(boolean restSvcShutdown)
restSvcShutdown - New REST executor service shutdown flag.Copyright © 2014. All rights reserved.