| com.microsoft.intune.mam.client.strict.StrictThreadSettings |
Per-thread MAM strict-mode settings.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
disable(MAMStrictCheck check)
Disable a specific check.
| ||||||||||
| abstract void |
disable()
Disable all checks for the current thread.
| ||||||||||
| abstract void |
disable(EnumSet<MAMStrictCheck> checks)
Disable a set of checks.
| ||||||||||
| abstract StrictScopedDisable |
disableScoped(MAMStrictCheck check)
Disable a specific check until the returned object is closed.
| ||||||||||
| abstract StrictScopedDisable |
disableScoped()
Disable all checks until the returned object is closed.
| ||||||||||
| abstract StrictScopedDisable |
disableScoped(EnumSet<MAMStrictCheck> checks)
Disable a set of checks until the returned object is closed.
| ||||||||||
Disable a specific check. This should not be used on thread-pool threads unless the disable is intended to apply to all tasks handled by the pool. To temporarily disable, use disableScoped instead.
| check | check to disable |
|---|
Disable all checks for the current thread. This should not be used on thread-pool threads unless the disable is intended to apply to all tasks handled by the pool. To temporarily disable, use disableScoped instead.
Disable a set of checks. This should not be used on thread-pool threads unless the disable is intended to apply to all tasks handled by the pool. To temporarily disable, use disableScoped instead.
| checks | checks to disable |
|---|
Disable a specific check until the returned object is closed. It is recommended to use this with a try-with-resources block.
| check | check to disable |
|---|
Disable all checks until the returned object is closed. It is recommended to use this with a try-with-resources block.
Disable a set of checks until the returned object is closed. It is recommended to use this with a try-with-resources block.
| checks | checks to disable |
|---|