Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.search
Class RemoteServicesManager

java.lang.Object
  extended by com.jivesoftware.base.search.RemoteServicesManager

public abstract class RemoteServicesManager
extends java.lang.Object

Base class for managers that provide services to remote JVMs. Each JVM that belong to the "services cluster" will use a subclass of RemoteServicesManager. This class together with ServiceInvocation will collaborate to keep the number of services that are currently being executed in each cluster member.


Field Summary
static RemoteServicesManager SERVICES_MANAGER
          Holds the current services manager to be used by the service cluster member to effectively execute and provide remote services.
 
Constructor Summary
RemoteServicesManager()
           
 
Method Summary
static void decrementServicesExecutions()
          Decrements the number of current services been executed in this cluster service member.
 int getCurrentServicesExecutions()
          Returns the number of services being currently executed in this cluster member.
static void incrementServicesExecutions()
          Increments the number of current services been executed in this cluster service member.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICES_MANAGER

public static RemoteServicesManager SERVICES_MANAGER
Holds the current services manager to be used by the service cluster member to effectively execute and provide remote services.

Constructor Detail

RemoteServicesManager

public RemoteServicesManager()
Method Detail

getCurrentServicesExecutions

public int getCurrentServicesExecutions()
Returns the number of services being currently executed in this cluster member.

Returns:
the number of services being currently executed in this cluster member.

incrementServicesExecutions

public static void incrementServicesExecutions()
Increments the number of current services been executed in this cluster service member.


decrementServicesExecutions

public static void decrementServicesExecutions()
Decrements the number of current services been executed in this cluster service member.


Jive Forums Project Page

Copyright © 1999-2006 Jive Software.