org.apache.hadoop.ha
Class HAServiceProtocol.StateChangeRequestInfo

java.lang.Object
  extended by 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.


Constructor Summary
HAServiceProtocol.StateChangeRequestInfo(HAServiceProtocol.RequestSource source)
           
 
Method Summary
 HAServiceProtocol.RequestSource getSource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HAServiceProtocol.StateChangeRequestInfo

public HAServiceProtocol.StateChangeRequestInfo(HAServiceProtocol.RequestSource source)
Method Detail

getSource

public HAServiceProtocol.RequestSource getSource()


Copyright © 2013 Apache Software Foundation. All Rights Reserved.