Table of Contents

Class ResourceHolderSupport

Namespace
Steeltoe.Common.Transaction
Assembly
Steeltoe.Common.dll
public abstract class ResourceHolderSupport : IResourceHolder
Inheritance
ResourceHolderSupport
Implements
Derived
Inherited Members

Properties

Deadline

public DateTime? Deadline { get; }

Property Value

DateTime?

HasTimeout

public bool HasTimeout { get; }

Property Value

bool

IsOpen

public bool IsOpen { get; }

Property Value

bool

IsVoid

Gets a value indicating whether this holder is considered void, leftover from previous thread

public bool IsVoid { get; }

Property Value

bool

RollbackOnly

public bool RollbackOnly { get; set; }

Property Value

bool

SynchronizedWithTransaction

public bool SynchronizedWithTransaction { get; set; }

Property Value

bool

Methods

Clear()

public void Clear()

GetTimeToLiveInMillis()

public long GetTimeToLiveInMillis()

Returns

long

GetTimetoLiveInSeconds()

public int GetTimetoLiveInSeconds()

Returns

int

Released()

public void Released()

Requested()

public void Requested()

Reset()

Reset the transactional state

public void Reset()

SetTimeoutInMillis(long)

public void SetTimeoutInMillis(long milliSeconds)

Parameters

milliSeconds long

SetTimeoutInSeconds(int)

public void SetTimeoutInSeconds(int seconds)

Parameters

seconds int

Unbound()

Notify holder that it has been unbound from transaction

public void Unbound()