Package cz.o2.proxima.core.transaction
Class Request
- java.lang.Object
-
- cz.o2.proxima.core.transaction.Request
-
- All Implemented Interfaces:
java.io.Serializable
@Internal public class Request extends java.lang.Object implements java.io.Serializable
A transactional request sent to coordinator.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRequest.Flagsstatic classRequest.RequestBuilder
-
Constructor Summary
Constructors Constructor Description Request()Request(java.util.List<KeyAttribute> inputAttributes, java.util.Collection<StreamElement> outputs, Request.Flags flags, int responsePartitionId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Request.RequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)Request.FlagsgetFlags()java.util.List<KeyAttribute>getInputAttributes()java.util.Collection<StreamElement>getOutputs()intgetResponsePartitionId()inthashCode()java.lang.StringtoString()RequestwithResponsePartitionId(int responsePartitionId)
-
-
-
Constructor Detail
-
Request
public Request()
-
Request
public Request(java.util.List<KeyAttribute> inputAttributes, java.util.Collection<StreamElement> outputs, Request.Flags flags, int responsePartitionId)
-
-
Method Detail
-
withResponsePartitionId
public Request withResponsePartitionId(int responsePartitionId)
-
builder
public static Request.RequestBuilder builder()
-
getInputAttributes
public java.util.List<KeyAttribute> getInputAttributes()
-
getOutputs
public java.util.Collection<StreamElement> getOutputs()
-
getFlags
public Request.Flags getFlags()
-
getResponsePartitionId
public int getResponsePartitionId()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-