public class ServiceReplicationStatus extends Object implements Comparable<ServiceReplicationStatus>
Modifier and Type | Field and Description |
---|---|
LinkedList<String> |
_description |
long |
_priority |
static long |
CONSISTENT_REPLICATION_PRIORITY |
static long |
INACTIVE_FACTOR |
static long |
INCONSISTENT_WITH_MIRROR_FACTOR |
static long |
INCONSISTENT_WITH_SPACE_FACTOR |
static long |
LOWEST_REPLICATION_PRIORITY |
static ServiceReplicationStatus |
UNKNOWN |
static ServiceReplicationStatus |
UNREACHABLE_TARGET |
Constructor and Description |
---|
ServiceReplicationStatus() |
ServiceReplicationStatus(long priority,
String serviceReplicationStatus) |
Modifier and Type | Method and Description |
---|---|
void |
addReplicationTargetName(String targetMemberName) |
int |
compareTo(ServiceReplicationStatus o) |
boolean |
containsReplicationTarget(String targetMemberName) |
String |
getDescription() |
long |
getPriority() |
long |
getProcessId() |
void |
reducePriority(long reductionFactor,
String description) |
void |
setProcessId(long processId) |
String |
toString() |
public static final long CONSISTENT_REPLICATION_PRIORITY
public static final long LOWEST_REPLICATION_PRIORITY
public static final long INACTIVE_FACTOR
public static final long INCONSISTENT_WITH_MIRROR_FACTOR
public static final long INCONSISTENT_WITH_SPACE_FACTOR
public static ServiceReplicationStatus UNKNOWN
public static ServiceReplicationStatus UNREACHABLE_TARGET
public long _priority
public final LinkedList<String> _description
public ServiceReplicationStatus()
public ServiceReplicationStatus(long priority, String serviceReplicationStatus)
public void reducePriority(long reductionFactor, String description)
public long getPriority()
public String getDescription()
public int compareTo(ServiceReplicationStatus o)
compareTo
in interface Comparable<ServiceReplicationStatus>
public boolean containsReplicationTarget(String targetMemberName)
public void addReplicationTargetName(String targetMemberName)
public void setProcessId(long processId)
public long getProcessId()
Copyright © GigaSpaces.