Package org.jgroups.protocols.relay
Interface SiteAddress
-
- All Superinterfaces:
Address,java.lang.Comparable<Address>,SizeStreamable,Streamable
- All Known Implementing Classes:
SiteMaster,SiteUUID
public interface SiteAddress extends Address
Address with a site suffix- Since:
- 3.2
- Author:
- Bela Ban
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSiteAddress.Type
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringgetSite()Returns the ID of the site (all sites need to have a unique site ID)default SiteAddress.Typetype()Temporary kludge to avoid instanceof-
Methods inherited from interface org.jgroups.Address
isMulticast, isSiteAddress, isSiteMaster
-
Methods inherited from interface org.jgroups.util.SizeStreamable
serializedSize
-
Methods inherited from interface org.jgroups.util.Streamable
readFrom, writeTo
-
-
-
-
Method Detail
-
getSite
java.lang.String getSite()
Returns the ID of the site (all sites need to have a unique site ID)
-
type
default SiteAddress.Type type()
Temporary kludge to avoid instanceof
-
-