Class SubscriptionId
- java.lang.Object
-
- pl.allegro.tech.hermes.consumers.subscription.id.SubscriptionId
-
public class SubscriptionId extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static SubscriptionIdfrom(pl.allegro.tech.hermes.api.SubscriptionName subscriptionName, long value)pl.allegro.tech.hermes.api.SubscriptionNamegetSubscriptionName()longgetValue()inthashCode()
-
-
-
Method Detail
-
from
public static SubscriptionId from(pl.allegro.tech.hermes.api.SubscriptionName subscriptionName, long value)
-
getValue
public long getValue()
-
getSubscriptionName
public pl.allegro.tech.hermes.api.SubscriptionName getSubscriptionName()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-