Example usage for org.apache.hadoop.ipc ProtocolSignature getProtocolSignature

List of usage examples for org.apache.hadoop.ipc ProtocolSignature getProtocolSignature

Introduction

In this page you can find the example usage for org.apache.hadoop.ipc ProtocolSignature getProtocolSignature.

Prototype

@SuppressWarnings("unchecked")
public static ProtocolSignature getProtocolSignature(VersionedProtocol server, String protocol,
        long clientVersion, int clientMethodsHash) throws IOException 

Source Link

Document

Get a server protocol's signature

Usage

From source file:com.datatorrent.stram.StreamingContainerParent.java

License:Apache License

@Override
public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash)
        throws IOException {
    return ProtocolSignature.getProtocolSignature(this, protocol, clientVersion, clientMethodsHash);
}

From source file:org.apache.hoya.yarn.appmaster.HoyaAppMaster.java

License:Apache License

@Override //HoyaClusterProtocol
public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash)
        throws IOException {
    return ProtocolSignature.getProtocolSignature(this, protocol, clientVersion, clientMethodsHash);
}

From source file:org.apache.ignite.client.hadoop.GridHadoopClientProtocol.java

License:Apache License

/** {@inheritDoc} */
@Override//w  w  w  . j ava  2  s. c  om
public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash)
        throws IOException {
    return ProtocolSignature.getProtocolSignature(this, protocol, clientVersion, clientMethodsHash);
}

From source file:org.apache.slider.server.appmaster.rpc.SliderIPCService.java

License:Apache License

@Override //SliderClusterProtocol
public ProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash)
        throws IOException {
    return ProtocolSignature.getProtocolSignature(this, protocol, clientVersion, clientMethodsHash);
}