Interface IUpdateSuspender
Defines the interface to an UpdateSuspender, a disposable class which allows nested suspend/resume operations on an ISuspendable instance
Implements
Namespace:
Assembly: .dll
Syntax
public interface IUpdateSuspender extends IDisposable
Methods
getResumeTargetOnClose()
Gets a value indicating whether the target will resume when the IUpdateSuspender is disposed. Default is true
Declaration
public abstract boolean getResumeTargetOnClose()
Returns
Type | Description |
---|---|
boolean | If true then target will call ISuspendable#resumeUpdates(IUpdateSuspender) after the IUpdateSuspender is disposed |
isSuspended()
Gets a value indicating whether updates for this instance are currently suspended
Declaration
public abstract boolean isSuspended()
Returns
Type | Description |
---|---|
boolean | True is this instance is suspended |
setResumeTargetOnClose(boolean resumeTargetOnDispose)
Sets a value indicating whether the target will resume when the IUpdateSuspender is disposed. Default is true
Declaration
public abstract void setResumeTargetOnClose(boolean resumeTargetOnDispose)
Parameters
Type | Name | Description |
---|---|---|
boolean | resumeTargetOnDispose | New resumeTargetOnDispose value |