public class SingleServerClusterMonitor extends Object implements ClusterMonitor
Constructor and Description |
---|
SingleServerClusterMonitor() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkServerUp(String serverID)
Indicates if the specified server is up.
|
String |
getCurrentHostServer(SessionID sid)
Identify the host (aka home or authoritative) server for the provided session.
|
boolean |
isSiteUp(String siteId)
Indicates if the specified site is up.
|
void |
shutdown()
No operation for this implementation.
|
public boolean isSiteUp(String siteId)
isSiteUp
in interface ClusterMonitor
siteId
- A possibly null Site Id.public boolean checkServerUp(String serverID)
checkServerUp
in interface ClusterMonitor
serverID
- server idpublic String getCurrentHostServer(SessionID sid)
getCurrentHostServer
in interface ClusterMonitor
sid
- SessionID for which the home server is to be foundpublic void shutdown()
shutdown
in interface ClusterMonitor
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.