Example usage for org.apache.hadoop.yarn.api.records.impl.pb ProtoUtils convertToProtoFormat

List of usage examples for org.apache.hadoop.yarn.api.records.impl.pb ProtoUtils convertToProtoFormat

Introduction

In this page you can find the example usage for org.apache.hadoop.yarn.api.records.impl.pb ProtoUtils convertToProtoFormat.

Prototype

public static TimedPlacementConstraintProto.DelayUnit convertToProtoFormat(
            TimedPlacementConstraint.DelayUnit u) 

Source Link

Usage

From source file:mamba.applicationhistoryservice.records.impl.pb.ContainerFinishDataPBImpl.java

License:Apache License

private ContainerStateProto convertToProtoFormat(ContainerState state) {
    return ProtoUtils.convertToProtoFormat(state);
}