Constructor and Description |
---|
RSInfo(int rsServerId,
String rsServerURL,
long generationId,
byte groupId,
int weight)
Creates a new instance of RSInfo with every given info.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Test if the passed object is equal to this one.
|
long |
getGenerationId()
Get the generation id RS is using.
|
byte |
getGroupId()
Get the RS group id.
|
int |
getId()
Get the RS id.
|
String |
getServerUrl()
Gets the server URL.
|
int |
getWeight()
Get the RS weight.
|
int |
hashCode()
Computes hash code for this object instance.
|
String |
toString()
Returns a string representation of the DS info.
|
public RSInfo(int rsServerId, String rsServerURL, long generationId, byte groupId, int weight)
rsServerId
- The RS idrsServerURL
- Url of the RSgenerationId
- The generation id the RS is usinggroupId
- RS group idweight
- RS weightpublic int getId()
public long getGenerationId()
public byte getGroupId()
public int getWeight()
public int hashCode()
public String getServerUrl()
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.