Beispiel #1
0
        public static GetClusterNodesRequest NewInstance()
        {
            GetClusterNodesRequest request = Org.Apache.Hadoop.Yarn.Util.Records.NewRecord <GetClusterNodesRequest
                                                                                            >();

            return(request);
        }
Beispiel #2
0
        public static GetClusterNodesRequest NewInstance(EnumSet <NodeState> states)
        {
            GetClusterNodesRequest request = Org.Apache.Hadoop.Yarn.Util.Records.NewRecord <GetClusterNodesRequest
                                                                                            >();

            request.SetNodeStates(states);
            return(request);
        }