Interface CloudMembershipServiceMBean
- All Known Implementing Classes:
CloudMembershipService
public interface CloudMembershipServiceMBean
MBean interface for the CloudMembershipService.
-
Method Summary
Modifier and TypeMethodDescriptionfindMemberByName(String name) Finds a member by name.intReturns the connection timeout in milliseconds.longReturns the member expiration time in milliseconds.String[]Returns the names of all members in the cluster.Returns the properties for this service.intReturns the read timeout in milliseconds.booleanReturns whether there are members in the cluster.
-
Method Details
-
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
-
hasMembers
boolean hasMembers()Returns whether there are members in the cluster.- Returns:
trueif there are members
-
getMembersByName
String[] getMembersByName()Returns the names of all members in the cluster.- Returns:
- the member names
-
findMemberByName
-