@Evolving public class UpdatedActions extends Object
CommitCoordinatorClientHandler about any changes in
Protocol/Metadata| Constructor and Description |
|---|
UpdatedActions(AbstractCommitInfo commitInfo,
AbstractMetadata newMetadata,
AbstractProtocol newProtocol,
AbstractMetadata oldMetadata,
AbstractProtocol oldProtocol) |
| Modifier and Type | Method and Description |
|---|---|
AbstractCommitInfo |
getCommitInfo()
Get the commit info for this commit attempt.
|
AbstractMetadata |
getNewMetadata()
Get the new metadata which needs to be committed.
|
AbstractProtocol |
getNewProtocol()
Get the new protocol which needs to be committed.
|
AbstractMetadata |
getOldMetadata()
Get the metadata from the read snapshot of this transaction.
|
AbstractProtocol |
getOldProtocol()
Get the protocol from the read snapshot of this transaction.
|
public UpdatedActions(AbstractCommitInfo commitInfo, AbstractMetadata newMetadata, AbstractProtocol newProtocol, AbstractMetadata oldMetadata, AbstractProtocol oldProtocol)
public AbstractCommitInfo getCommitInfo()
public AbstractMetadata getNewMetadata()
public AbstractProtocol getNewProtocol()
public AbstractMetadata getOldMetadata()
public AbstractProtocol getOldProtocol()