Class PatternAndCircuitHash
- java.lang.Object
-
- org.swisspush.gateleen.queue.queuing.circuitbreaker.util.PatternAndCircuitHash
-
public class PatternAndCircuitHash extends Object
Container class to hold a pattern (based on the name of the routing rule) and the hash representation of this pattern. The hash representation of the pattern is used as unique identifier of a circuit.- Author:
- https://github.com/mcweba [Marc-Andre Weber]
-
-
Constructor Summary
Constructors Constructor Description PatternAndCircuitHash(Pattern pattern, String circuitHash)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetCircuitHash()PatterngetPattern()inthashCode()StringtoString()
-