Package org.nuxeo.lib.stream.log
Class LogPartition
- java.lang.Object
-
- org.nuxeo.lib.stream.log.LogPartition
-
public class LogPartition extends Object
A tuple to store a Log name and the partition index.- Since:
- 9.3
-
-
Constructor Summary
Constructors Constructor Description LogPartition(Name name, int partition)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()Namename()Returns the Log's namestatic LogPartitionof(Name name, int partition)intpartition()Returns the partition index.StringtoString()
-
-
-
Constructor Detail
-
LogPartition
public LogPartition(Name name, int partition)
-
-
Method Detail
-
of
public static LogPartition of(Name name, int partition)
-
partition
public int partition()
Returns the partition index.
-
-