Hystrix: Latency and Fault Tolerance for Distributed Systems



com.netflix.hystrix
Class HystrixCollapserKey.Factory

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

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


Method Summary
static HystrixCollapserKey asKey(java.lang.String name)
          Retrieve (or create) an interned HystrixCollapserKey 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 HystrixCollapserKey asKey(java.lang.String name)
Retrieve (or create) an interned HystrixCollapserKey instance for a given name.

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