Interface McastServiceMBean
- All Known Implementing Classes:
McastService
public interface McastServiceMBean
MBean interface for McastService.
-
Method Summary
Modifier and TypeMethodDescriptionfindMemberByName(String name) Find a member by name.Get the multicast address.getBind()Get the bind address.byte[]Get the domain.longGet the drop time.longGet the heartbeat frequency.booleanGet whether local loopback is disabled.Get the local member name.String[]Get the member names.intgetPort()Get the multicast port.Get the properties.intGet the recovery counter.booleanGet whether recovery is enabled.longGet the recovery sleep time.intGet the socket timeout.intgetTtl()Get the TTL.booleanCheck if there are members.
-
Method Details
-
getAddress
-
getPort
int getPort()Get the multicast port.- Returns:
- the port
-
getFrequency
long getFrequency()Get the heartbeat frequency.- Returns:
- the frequency
-
getDropTime
long getDropTime()Get the drop time.- Returns:
- the drop time
-
getBind
-
getTtl
int getTtl()Get the TTL.- Returns:
- the TTL
-
getDomain
byte[] getDomain()Get the domain.- Returns:
- the domain
-
getSoTimeout
int getSoTimeout()Get the socket timeout.- Returns:
- the socket timeout
-
getRecoveryEnabled
boolean getRecoveryEnabled()Get whether recovery is enabled.- Returns:
- whether recovery is enabled
-
getRecoveryCounter
int getRecoveryCounter()Get the recovery counter.- Returns:
- the recovery counter
-
getRecoverySleepTime
long getRecoverySleepTime()Get the recovery sleep time.- Returns:
- the recovery sleep time
-
getLocalLoopbackDisabled
boolean getLocalLoopbackDisabled()Get whether local loopback is disabled.- Returns:
- whether local loopback is disabled
-
getLocalMemberName
-
getProperties
-
hasMembers
boolean hasMembers()Check if there are members.- Returns:
- true if there are members
-
getMembersByName
-
findMemberByName
-