@PublicApi public class SyncPointInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SyncPointInfo.SyncStatus
Indicates the status of the initial sync of the active sync point.
|
Constructor and Description |
---|
SyncPointInfo(AlluxioURI syncPoint,
SyncPointInfo.SyncStatus syncStatus)
Constructs a SyncPointInfo object.
|
Modifier and Type | Method and Description |
---|---|
static SyncPointInfo |
fromProto(SyncPointInfo syncPointInfo)
Generate sync point information from the proto representation.
|
AlluxioURI |
getSyncPointUri()
Get the uri of the sync point.
|
SyncPointInfo.SyncStatus |
getSyncStatus()
Get the initial sync status.
|
SyncPointInfo |
toProto() |
public SyncPointInfo(AlluxioURI syncPoint, SyncPointInfo.SyncStatus syncStatus)
syncPoint
- path to the sync pointsyncStatus
- current syncing statuspublic AlluxioURI getSyncPointUri()
public SyncPointInfo.SyncStatus getSyncStatus()
public SyncPointInfo toProto()
public static SyncPointInfo fromProto(SyncPointInfo syncPointInfo)
syncPointInfo
- the proto representationCopyright © 2023. All Rights Reserved.