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 LocalInstanceStatspublic WanSyncStatus getStatus()
getStatus in interface WanSyncStatepublic int getSyncedPartitionCount()
getSyncedPartitionCount in interface WanSyncStatepublic String getActiveWanConfigName()
getActiveWanConfigName in interface WanSyncStatepublic String getActivePublisherName()
getActivePublisherName in interface WanSyncStatepublic com.eclipsesource.json.JsonObject toJson()
toJson in interface JsonSerializablepublic void fromJson(com.eclipsesource.json.JsonObject json)
fromJson in interface JsonSerializableCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.