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 boolean
equals(Object o)
int
hashCode()
Name
name()
Returns the Log's namestatic LogPartition
of(Name name, int partition)
int
partition()
Returns the partition index.String
toString()
-
-
-
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.
-
-