class CashSelectionSQLServerImpl : AbstractCashSelection
CashSelectionSQLServerImpl() |
fun executeQuery(connection: Connection, amount: Amount<Currency>, lockId: UUID, notary: Party?, onlyFromIssuerParties: Set<AbstractParty>, withIssuerRefs: Set<OpaqueBytes>, withResultSet: (ResultSet) -> Boolean): Boolean
A vendor specific query(ies) to gather Cash states that are available. |
|
fun isCompatible(metadata: DatabaseMetaData): Boolean
Upon dynamically loading configured Cash Selection algorithms declared in META-INF/services this method determines whether the loaded implementation is compatible and usable with the currently loaded JDBC driver. Note: the first loaded implementation to pass this check will be used at run-time. |
|
fun toString(): String |
fun unconsumedCashStatesForSpending(services: ServiceHub, amount: Amount<Currency>, onlyFromIssuerParties: Set<AbstractParty> = emptySet(), notary: Party? = null, lockId: UUID, withIssuerRefs: Set<OpaqueBytes> = emptySet()): List<StateAndRef<State>>
Query to gather Cash states that are available and retry if they are temporarily unavailable. |
val JDBC_DRIVER_NAME_REGEX: <ERROR CLASS> |
fun Any.contextLogger(): <ERROR CLASS>
When called from a companion object, returns the logger for the enclosing class. |