Constructor and Description |
---|
BasicBatchKey(String comparison,
Expectation expectation)
Constructs a BasicBatchKey
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getBatchedStatementCount()
How many statements will be in this batch?
Note that this is distinctly different than the size of the batch.
|
Expectation |
getExpectation()
Get the expectation pertaining to the outcome of the
Batch associated with this key. |
int |
hashCode() |
public BasicBatchKey(String comparison, Expectation expectation)
comparison
- A string used to compare batch keys.expectation
- The expectation for the batchpublic Expectation getExpectation()
BatchKey
Batch
associated with this key.getExpectation
in interface BatchKey
public int getBatchedStatementCount()
BatchKey
getBatchedStatementCount
in interface BatchKey
Copyright © 2017 JBoss by Red Hat. All rights reserved.