Class VersionEndpointTask
java.lang.Object
org.apache.hadoop.ozone.container.common.states.endpoint.VersionEndpointTask
- All Implemented Interfaces:
Callable<EndpointStateMachine.EndPointStates>
public class VersionEndpointTask
extends Object
implements Callable<EndpointStateMachine.EndPointStates>
Task that returns version.
-
Constructor Summary
ConstructorsConstructorDescriptionVersionEndpointTask(EndpointStateMachine rpcEndPoint, org.apache.hadoop.hdds.conf.ConfigurationSource conf, OzoneContainer container) -
Method Summary
Modifier and TypeMethodDescriptioncall()Computes a result, or throws an exception if unable to do so.
-
Constructor Details
-
VersionEndpointTask
public VersionEndpointTask(EndpointStateMachine rpcEndPoint, org.apache.hadoop.hdds.conf.ConfigurationSource conf, OzoneContainer container)
-
-
Method Details
-
call
Computes a result, or throws an exception if unable to do so.- Specified by:
callin interfaceCallable<EndpointStateMachine.EndPointStates>- Returns:
- computed result
- Throws:
Exception- if unable to compute a result
-