viewtify

viewtify.util

GuardedOperation

NoOPGuardedOperation

The reusable no-operation.

GuardedOperation()

guard(kiss.WiseRunnableprocess)void

kiss.WiseRunnableprocess

An atomic process.

Guaranteed to be executed only once at a time. The difference with the synchronized block is that it does not allow recursive execution by the same thread and if the process is rejected, this operator will skip it instead of waiting.

protect(Runnableprocess)void

Runnableprocess

An atomic process.

#guard(WiseRunnable) for Runnable.

Guaranteed to be executed only once at a time. The difference with the synchronized block is that it does not allow recursive execution by the same thread and if the process is rejected, this operator will skip it instead of waiting.

ignoreError()GuardedOperation

GuardedOperation

Ignore error while processing.