Hystrix: Latency and Fault Tolerance for Distributed Systems



com.netflix.hystrix
Interface HystrixThreadPoolKey


public interface HystrixThreadPoolKey

A key to represent a HystrixThreadPool for monitoring, metrics publishing, caching and other such uses.

This interface is intended to work natively with Enums so that implementing code can be an enum that implements this interface.


Nested Class Summary
static class HystrixThreadPoolKey.Factory
           
 
Method Summary
 java.lang.String name()
          The 'key' used as the name for a thread-pool.
 

Method Detail

name

java.lang.String name()
The 'key' used as the name for a thread-pool.

The word 'name' is used instead of 'key' so that Enums can implement this interface and it work natively.

Returns:
String