Package com.linkedin.venice.pubsub
Class PubSubPositionFactory
- java.lang.Object
-
- com.linkedin.venice.pubsub.PubSubPositionFactory
-
public class PubSubPositionFactory extends java.lang.Object
Factory class for creating PubSubPosition objects from wire format
-
-
Field Summary
Fields Modifier and Type Field Description static PubSubPositionFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description PubSubPositionFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PubSubPosition
getPositionFromWireFormat(byte[] positionWireFormatBytes)
static PubSubPosition
getPositionFromWireFormat(PubSubPositionWireFormat positionWireFormat)
-
-
-
Field Detail
-
INSTANCE
public static final PubSubPositionFactory INSTANCE
-
-
Method Detail
-
getPositionFromWireFormat
public static PubSubPosition getPositionFromWireFormat(byte[] positionWireFormatBytes)
-
getPositionFromWireFormat
public static PubSubPosition getPositionFromWireFormat(PubSubPositionWireFormat positionWireFormat)
-
-