Novell exteNd
Director 5.2 API

com.sssw.fw.cachemgr.api
Interface EbiRemoteCoordinatorAdmin


public interface EbiRemoteCoordinatorAdmin

Remote Cache Coordinator Administration Interface that accesses the cache coordinator server process by calling EbiCoordinatorAdmin RMI object passed back from the cache coordinator server.


Method Summary
 void changeLoggingLevel(int loggingLevel)
          Checkes the cache coordinator logging level (only change the current current process, but not store the change persistently).
 int checkClients()
          Makes sure all the registered server instances (clients) are still alive.
 int getClientCount(String applicationID)
          Gets the count of registered server instances in the Cache coordinator.
 Vector getClientList(String applicationID)
          Gets a list of registered server instances (clients)
 String getServerID()
          Gets the serverID for the current app server instance.
 

Method Detail

getClientCount

public int getClientCount(String applicationID)
                   throws EboUnrecoverableSystemException
Gets the count of registered server instances in the Cache coordinator.
Parameters:
applicationID - an application identifier
Returns:
number of registered clients

getClientList

public Vector getClientList(String applicationID)
                     throws EboUnrecoverableSystemException
Gets a list of registered server instances (clients)
Parameters:
applicationID - an application identifier
Returns:
a list of registered clients

checkClients

public int checkClients()
                 throws EboUnrecoverableSystemException
Makes sure all the registered server instances (clients) are still alive. If a server instance is unaccessible, remove it from the registry.
Returns:
number of non-responsive clients removed from registry

changeLoggingLevel

public void changeLoggingLevel(int loggingLevel)
                        throws EboUnrecoverableSystemException
Checkes the cache coordinator logging level (only change the current current process, but not store the change persistently).
Parameters:
loggingLevel - logging level to be changed to. (range from 1 to 5, 1-critical, 2-error, 3-warning, 4-info, 5-trace)

getServerID

public String getServerID()
Gets the serverID for the current app server instance.
Returns:
a serverID for the associated app server instance.

Novell exteNd
Director 5.2 API