IgniteServiceProcessor, see IEP-17 for details.@Deprecated public class GridServiceProcessor extends ServiceProcessorAdapter implements IgniteChangeGlobalStateSupport
IgniteServiceProcessor, perhaps the class
contains a similar block of code which also should be updated.IgniteServiceProcessorGridComponent.DiscoveryDataExchangeTypectx, diagnosticLog, log| Constructor and Description |
|---|
GridServiceProcessor(GridKernalContext ctx)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<?> |
cancel(String name)
Deprecated.
|
IgniteInternalFuture<?> |
cancelAll()
Deprecated.
|
IgniteInternalFuture<?> |
cancelAll(Collection<String> servicesNames)
Deprecated.
|
IgniteInternalFuture<?> |
deployAll(ClusterGroup prj,
Collection<ServiceConfiguration> cfgs)
Deprecated.
|
IgniteInternalFuture<?> |
deployClusterSingleton(ClusterGroup prj,
String name,
Service srvc)
Deprecated.
|
IgniteInternalFuture<?> |
deployKeyAffinitySingleton(String name,
Service srvc,
String cacheName,
Object affKey)
Deprecated.
|
IgniteInternalFuture<?> |
deployMultiple(ClusterGroup prj,
String name,
Service srvc,
int totalCnt,
int maxPerNodeCnt)
Deprecated.
|
IgniteInternalFuture<?> |
deployNodeSingleton(ClusterGroup prj,
String name,
Service srvc)
Deprecated.
|
void |
onActivate(GridKernalContext kctx)
Deprecated.
Called when cluster performing activation.
|
void |
onContinuousProcessorStarted(GridKernalContext ctx)
Deprecated.
|
void |
onDeActivate(GridKernalContext kctx)
Deprecated.
Called when cluster performing deactivation.
|
void |
onDisconnected(IgniteFuture<?> reconnectFut)
Deprecated.
Client disconnected callback.
|
void |
onKernalStart(boolean active)
Deprecated.
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
void |
onKernalStop(boolean cancel)
Deprecated.
Callback to notify that kernal is about to stop.
|
void |
onUtilityCacheStarted()
Deprecated.
Called right after utility cache is started and ready for the usage.
|
<T> T |
service(String name)
Deprecated.
|
ServiceContextImpl |
serviceContext(String name)
Deprecated.
|
Collection<ServiceDescriptor> |
serviceDescriptors()
Deprecated.
|
<T> T |
serviceProxy(ClusterGroup prj,
String name,
Class<? super T> srvcCls,
boolean sticky,
long timeout)
Deprecated.
|
<T> Collection<T> |
services(String name)
Deprecated.
|
Map<UUID,Integer> |
serviceTopology(String name,
long timeout)
Deprecated.
|
void |
start()
Deprecated.
Starts grid component.
|
void |
updateUtilityCache()
Deprecated.
|
onLocalJoinassertParameter, collectGridNodeData, collectJoiningNodeData, discoveryDataType, onGridDataReceived, onJoiningNodeDataReceived, onReconnected, printMemoryStats, stop, toString, validateNode, validateNodepublic GridServiceProcessor(GridKernalContext ctx)
ctx - Kernal context.public void onContinuousProcessorStarted(GridKernalContext ctx) throws IgniteCheckedException
ctx - Context.IgniteCheckedException - If failed.public void start()
throws IgniteCheckedException
start in interface GridComponentstart in class GridProcessorAdapterIgniteCheckedException - Throws in case of any errors.public void onKernalStart(boolean active)
throws IgniteCheckedException
onKernalStart in interface GridComponentonKernalStart in class GridProcessorAdapteractive - Cluster active flag (note: should be used carefully since state can
change concurrently).IgniteCheckedException - Thrown in case of any errors.public void updateUtilityCache()
public void onKernalStop(boolean cancel)
onKernalStop in interface GridComponentonKernalStop in class GridProcessorAdaptercancel - Flag indicating whether jobs should be canceled.public void onActivate(GridKernalContext kctx) throws IgniteCheckedException
onActivate in interface IgniteChangeGlobalStateSupportkctx - Kernal context.IgniteCheckedException - If failed.public void onDeActivate(GridKernalContext kctx)
onDeActivate in interface IgniteChangeGlobalStateSupportkctx - Kernal context.public void onDisconnected(IgniteFuture<?> reconnectFut) throws IgniteCheckedException
onDisconnected in interface GridComponentonDisconnected in class GridProcessorAdapterreconnectFut - Reconnect future.IgniteCheckedException - If failed.public IgniteInternalFuture<?> deployNodeSingleton(ClusterGroup prj, String name, Service srvc)
deployNodeSingleton in class ServiceProcessorAdapterprj - Grid projection.name - Service name.srvc - Service.public IgniteInternalFuture<?> deployClusterSingleton(ClusterGroup prj, String name, Service srvc)
deployClusterSingleton in class ServiceProcessorAdaptername - Service name.srvc - Service instance.public IgniteInternalFuture<?> deployMultiple(ClusterGroup prj, String name, Service srvc, int totalCnt, int maxPerNodeCnt)
deployMultiple in class ServiceProcessorAdaptername - Service name.srvc - Service.totalCnt - Total count.maxPerNodeCnt - Max per-node count.public IgniteInternalFuture<?> deployKeyAffinitySingleton(String name, Service srvc, String cacheName, Object affKey)
deployKeyAffinitySingleton in class ServiceProcessorAdaptername - Service name.srvc - Service.cacheName - Cache name.affKey - Affinity key.public IgniteInternalFuture<?> deployAll(ClusterGroup prj, Collection<ServiceConfiguration> cfgs)
deployAll in class ServiceProcessorAdapterprj - Grid projection.cfgs - Service configurations.public IgniteInternalFuture<?> cancel(String name)
cancel in class ServiceProcessorAdaptername - Service name.public IgniteInternalFuture<?> cancelAll()
cancelAll in class ServiceProcessorAdapterpublic IgniteInternalFuture<?> cancelAll(Collection<String> servicesNames)
cancelAll in class ServiceProcessorAdapterservicesNames - Name of services to deploy.public Map<UUID,Integer> serviceTopology(String name, long timeout) throws IgniteCheckedException
serviceTopology in class ServiceProcessorAdaptername - Service name.timeout - If greater than 0 limits task execution time. Cannot be negative.IgniteCheckedException - On error.public Collection<ServiceDescriptor> serviceDescriptors()
serviceDescriptors in class ServiceProcessorAdapterpublic <T> T service(String name)
service in class ServiceProcessorAdapterT - Service type.name - Service name.public ServiceContextImpl serviceContext(String name)
serviceContext in class ServiceProcessorAdaptername - Service name.public <T> T serviceProxy(ClusterGroup prj, String name, Class<? super T> srvcCls, boolean sticky, long timeout) throws IgniteException
serviceProxy in class ServiceProcessorAdapterT - Service interface type.prj - Grid projection.name - Service name.srvcCls - Service class.sticky - Whether multi-node request should be done.timeout - If greater than 0 limits service acquire time. Cannot be negative.IgniteException - If failed to create proxy.public <T> Collection<T> services(String name)
services in class ServiceProcessorAdapterT - Service type.name - Service name.public void onUtilityCacheStarted()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020