Package com.tangosol.net
Interface ServiceInfo
public interface ServiceInfo
The ServiceInfo represents information about a Service that
 operates in a clustered network environment. A ServiceInfo
 may be available for a Service that is not running on the
 local cluster member.
- Since:
 - Coherence 1.1
 - Author:
 - gg 2002.02.08
 
- 
Method Summary
Modifier and TypeMethodDescriptionReturn the "most senior" Member that is running this Service.getServiceMember(int nId) Return the Member with the specified mini-id that is running this Service.Return a Set of Member objects, one for each Member that has registered this Service.Return the name of the Service.Return the type of the Service.getServiceVersion(Member member) Return a String with Service version for the specified service Member. 
- 
Method Details
- 
getServiceName
String getServiceName()Return the name of the Service.- Returns:
 - the name of the Service
 
 - 
getServiceType
String getServiceType()Return the type of the Service.- Returns:
 - the type of the Service
 - Since:
 - Coherence 2.0
 - See Also:
 
 - 
getServiceMembers
Set getServiceMembers()Return a Set of Member objects, one for each Member that has registered this Service.- Returns:
 - Set of cluster members for this service (could be empty)
 
 - 
getServiceVersion
Return a String with Service version for the specified service Member.- Parameters:
 member- member of the service- Returns:
 - service version or null if the specified member does not run this service.
 - Throws:
 IllegalStateException- thrown if the service is not running or has stopped
 - 
getOldestMember
Member getOldestMember()Return the "most senior" Member that is running this Service.- Returns:
 - the senior Member
 - Since:
 - Coherence 2.0
 
 - 
getServiceMember
Return the Member with the specified mini-id that is running this Service.- Parameters:
 nId- the member mini-id- Returns:
 - the Member with the specified id or null
 - Since:
 - Coherence 2.4
 - See Also:
 
 
 -