public final class OutputAttemptContext extends Object
Constructor and Description |
---|
OutputAttemptContext(String transactionId,
String attemptId,
String outputId,
Counter counter)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getAttemptId()
Returns the attempt ID corresponding to this output.
|
Counter |
getCounter()
Returns the operation counter.
|
String |
getOutputId()
Returns the output ID corresponding to this output.
|
OutputTransactionContext |
getTransactionContext()
Returns the corresponded transaction context.
|
String |
getTransactionId()
Returns the transaction ID corresponding to this output.
|
String |
toString() |
public OutputAttemptContext(String transactionId, String attemptId, String outputId, Counter counter)
transactionId
- current transaction IDattemptId
- current attempt IDoutputId
- current output IDcounter
- operation counter for this contextIllegalArgumentException
- if some parameters were null
public OutputTransactionContext getTransactionContext()
public String getTransactionId()
public String getAttemptId()
public String getOutputId()
public Counter getCounter()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.