Hystrix: Latency and Fault Tolerance for Distributed Systems



com.netflix.hystrix
Class HystrixCommandKey.Factory

java.lang.Object
  extended by com.netflix.hystrix.HystrixCommandKey.Factory
Enclosing interface:
HystrixCommandKey

public static class HystrixCommandKey.Factory
extends java.lang.Object


Method Summary
static HystrixCommandKey asKey(java.lang.String name)
          Retrieve (or create) an interned HystrixCommandKey instance for a given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

asKey

public static HystrixCommandKey asKey(java.lang.String name)
Retrieve (or create) an interned HystrixCommandKey instance for a given name.

Parameters:
name -
Returns:
HystrixCommandKey instance that is interned (cached) so a given name will always retrieve the same instance.