org.opcfoundation.ua.utils
Class CurrentThreadExecutor

java.lang.Object
  extended by org.opcfoundation.ua.utils.CurrentThreadExecutor
All Implemented Interfaces:
Executor

public class CurrentThreadExecutor
extends Object
implements Executor

Executor that executes commands immediately in invokers thread.

Author:
Toni Kalajainen (toni.kalajainen@vtt.fi)

Field Summary
static Executor INSTANCE
          Constant INSTANCE
 
Constructor Summary
CurrentThreadExecutor()
           
 
Method Summary
 void execute(Runnable command)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final Executor INSTANCE
Constant INSTANCE

Constructor Detail

CurrentThreadExecutor

public CurrentThreadExecutor()
Method Detail

execute

public void execute(Runnable command)

Specified by:
execute in interface Executor


Copyright © 2018. All rights reserved.