Resource

trait Resource extends Closeable with ExternalDecider
trait ExternalDecider
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any

Value members

Inherited methods

@throws(java.io.IOException)
def close(): Unit
Inherited from
Closeable
def shouldCommit(implicit txn: InTxnEnd): Boolean

Should return true if the end-of-life transaction txn should commit, false if it should roll back. Txn.rollback may also be used to initiate a rollback if that is more convenient. Called while the status is Prepared. This method may not access any Refs, even via Ref.single.

Should return true if the end-of-life transaction txn should commit, false if it should roll back. Txn.rollback may also be used to initiate a rollback if that is more convenient. Called while the status is Prepared. This method may not access any Refs, even via Ref.single.

Inherited from
ExternalDecider