Example usage for org.apache.hadoop.yarn.client.api NMTokenCache getSingleton

List of usage examples for org.apache.hadoop.yarn.client.api NMTokenCache getSingleton

Introduction

In this page you can find the example usage for org.apache.hadoop.yarn.client.api NMTokenCache getSingleton.

Prototype

public static NMTokenCache getSingleton() 

Source Link

Document

Returns the singleton NM token cache.

Usage

From source file:disAMS.AMRMClient.AMRMClient.java

License:Apache License

@Private
protected AMRMClient(String name) {
    super(name);
    nmTokenCache = NMTokenCache.getSingleton();
}