public class MasterTransfer extends Object
Each Master Transfer operation uses a separate instance of this class. There is usually no more than one instance in the lifetime of a master node, because if the transfer succeeds, the old master node environment becomes invalid and must be closed. However, if an operation times out, another operation can try again later. Or, a second operation can "forcibly" supersede an existing operation in progress.
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort(Exception e)
Aborts an existing, in-progress Master Transfer operation, if it hasn't
reached the point of no return.
|
long |
getStartTime() |
public boolean abort(Exception e)
public long getStartTime()
Copyright © 2024. All rights reserved.