public class ReplicaSnapshot extends Object
LeaderSnapshot
Modifier and Type | Method and Description |
---|---|
ObjectId |
getAccepted() |
ObjectId |
getCommitted() |
String |
getErrorMessage() |
KetchReplica |
getReplica() |
Date |
getRetryAt() |
KetchReplica.State |
getState() |
public KetchReplica getReplica()
public KetchReplica.State getState()
@Nullable public ObjectId getAccepted()
refs/txn/accepted
.@Nullable public ObjectId getCommitted()
refs/txn/committed
.@Nullable public String getErrorMessage()
getState()
== KetchReplica.State.OFFLINE
an
optional human-readable message from the transport system
explaining the failure.Copyright © 2018 Eclipse JGit Project. All rights reserved.