org.apache.hadoop.ha
Class HAServiceProtocol.StateChangeRequestInfo
java.lang.Object
org.apache.hadoop.ha.HAServiceProtocol.StateChangeRequestInfo
- Enclosing interface:
- HAServiceProtocol
public static class HAServiceProtocol.StateChangeRequestInfo
- extends Object
Information describing the source for a request to change state.
This is used to differentiate requests from automatic vs CLI
failover controllers, and in the future may include epoch
information.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HAServiceProtocol.StateChangeRequestInfo
public HAServiceProtocol.StateChangeRequestInfo(HAServiceProtocol.RequestSource source)
getSource
public HAServiceProtocol.RequestSource getSource()
Copyright © 2013 Apache Software Foundation. All Rights Reserved.