public class WanSyncStateImpl extends Object implements WanSyncState
STAT_NOT_AVAILABLE
Constructor and Description |
---|
WanSyncStateImpl() |
WanSyncStateImpl(WanSyncStatus status,
int syncedPartitionCount,
String activeWanConfigName,
String activePublisherName) |
Modifier and Type | Method and Description |
---|---|
void |
fromJson(com.eclipsesource.json.JsonObject json) |
String |
getActivePublisherName() |
String |
getActiveWanConfigName() |
long |
getCreationTime() |
WanSyncStatus |
getStatus() |
int |
getSyncedPartitionCount() |
com.eclipsesource.json.JsonObject |
toJson() |
String |
toString() |
public WanSyncStateImpl()
public WanSyncStateImpl(WanSyncStatus status, int syncedPartitionCount, String activeWanConfigName, String activePublisherName)
public long getCreationTime()
getCreationTime
in interface LocalInstanceStats
public WanSyncStatus getStatus()
getStatus
in interface WanSyncState
public int getSyncedPartitionCount()
getSyncedPartitionCount
in interface WanSyncState
public String getActiveWanConfigName()
getActiveWanConfigName
in interface WanSyncState
public String getActivePublisherName()
getActivePublisherName
in interface WanSyncState
public com.eclipsesource.json.JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(com.eclipsesource.json.JsonObject json)
fromJson
in interface JsonSerializable
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.