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
HasTimeout
public bool HasTimeout { get; }
Property Value
IsOpen
public bool IsOpen { get; }
Property Value
IsVoid
Gets a value indicating whether this holder is considered void, leftover from previous thread
public bool IsVoid { get; }
Property Value
RollbackOnly
public bool RollbackOnly { get; set; }
Property Value
SynchronizedWithTransaction
public bool SynchronizedWithTransaction { get; set; }
Property Value
Methods
Clear()
public void Clear()
GetTimeToLiveInMillis()
public long GetTimeToLiveInMillis()
Returns
GetTimetoLiveInSeconds()
public int GetTimetoLiveInSeconds()
Returns
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()