Interface CloudMembershipServiceMBean
-
- All Known Implementing Classes:
CloudMembershipService
public interface CloudMembershipServiceMBeanMBean interface for the CloudMembershipService.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MemberfindMemberByName(java.lang.String name)Finds a member by name.intgetConnectTimeout()Returns the connection timeout in milliseconds.longgetExpirationTime()Returns the member expiration time in milliseconds.java.lang.String[]getMembersByName()Returns the names of all members in the cluster.java.util.PropertiesgetProperties()Returns the properties for this service.intgetReadTimeout()Returns the read timeout in milliseconds.booleanhasMembers()Returns whether there are members in the cluster.
-
-
-
Method Detail
-
getConnectTimeout
int getConnectTimeout()
Returns the connection timeout in milliseconds.- Returns:
- the connection timeout
-
getReadTimeout
int getReadTimeout()
Returns the read timeout in milliseconds.- Returns:
- the read timeout
-
getExpirationTime
long getExpirationTime()
Returns the member expiration time in milliseconds.- Returns:
- the expiration time
-
getProperties
java.util.Properties getProperties()
Returns the properties for this service.- Returns:
- the properties
-
hasMembers
boolean hasMembers()
Returns whether there are members in the cluster.- Returns:
trueif there are members
-
getMembersByName
java.lang.String[] getMembersByName()
Returns the names of all members in the cluster.- Returns:
- the member names
-
findMemberByName
Member findMemberByName(java.lang.String name)
Finds a member by name.- Parameters:
name- the member name- Returns:
- the member, or
nullif not found
-
-