Interface McastServiceMBean
-
- All Known Implementing Classes:
McastService
public interface McastServiceMBeanMBean interface for McastService.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MemberfindMemberByName(java.lang.String name)Find a member by name.java.lang.StringgetAddress()Get the multicast address.java.lang.StringgetBind()Get the bind address.byte[]getDomain()Get the domain.longgetDropTime()Get the drop time.longgetFrequency()Get the heartbeat frequency.booleangetLocalLoopbackDisabled()Get whether local loopback is disabled.java.lang.StringgetLocalMemberName()Get the local member name.java.lang.String[]getMembersByName()Get the member names.intgetPort()Get the multicast port.java.util.PropertiesgetProperties()Get the properties.intgetRecoveryCounter()Get the recovery counter.booleangetRecoveryEnabled()Get whether recovery is enabled.longgetRecoverySleepTime()Get the recovery sleep time.intgetSoTimeout()Get the socket timeout.intgetTtl()Get the TTL.booleanhasMembers()Check if there are members.
-
-
-
Method Detail
-
getAddress
java.lang.String getAddress()
Get the multicast address.- Returns:
- the address
-
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
java.lang.String getBind()
Get the bind address.- Returns:
- the bind address
-
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
java.lang.String getLocalMemberName()
Get the local member name.- Returns:
- the local member name
-
getProperties
java.util.Properties getProperties()
Get the properties.- Returns:
- the properties
-
hasMembers
boolean hasMembers()
Check if there are members.- Returns:
- true if there are members
-
getMembersByName
java.lang.String[] getMembersByName()
Get the member names.- Returns:
- the member names
-
findMemberByName
Member findMemberByName(java.lang.String name)
Find a member by name.- Parameters:
name- the member name- Returns:
- the member
-
-