Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.threading
Class DefaultInvoker

java.lang.Object
  extended by com.genesyslab.platform.commons.threading.DefaultInvoker
All Implemented Interfaces:
AsyncInvoker

Deprecated. use InvokerFactory.namedInvoker(String) and InvokerFactory.releaseInvoker(String) instead of it.

@Deprecated
public class DefaultInvoker
extends java.lang.Object
implements AsyncInvoker


Constructor Summary
protected DefaultInvoker()
          Deprecated.  
  DefaultInvoker(java.lang.String name)
          Deprecated.  
 
Method Summary
 void dispose()
          Deprecated. Makes a hint to invoker that it's not used anymore and, PROBABLY, should be stopped and all associated resources - freed.
static AsyncInvoker getSingletonInstance()
          Deprecated. use InvokerFactory.namedInvoker(String) and InvokerFactory.releaseInvoker(String) instead of it.
 void invoke(java.lang.Runnable target)
          Deprecated. Submit the task to this invoker.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultInvoker

protected DefaultInvoker()
Deprecated. 

DefaultInvoker

public DefaultInvoker(java.lang.String name)
Deprecated. 
Method Detail

getSingletonInstance

@Deprecated
public static AsyncInvoker getSingletonInstance()
Deprecated. use InvokerFactory.namedInvoker(String) and InvokerFactory.releaseInvoker(String) instead of it.


invoke

public void invoke(java.lang.Runnable target)
Deprecated. 
Description copied from interface: AsyncInvoker
Submit the task to this invoker.

Specified by:
invoke in interface AsyncInvoker
Parameters:
target - Task to execute

dispose

public void dispose()
Deprecated. 
Description copied from interface: AsyncInvoker
Makes a hint to invoker that it's not used anymore and, PROBABLY, should be stopped and all associated resources - freed. Note that Invoker is usually shared between multiple channels, so call of this method from one channel doesn't mean it is really free.

Specified by:
dispose in interface AsyncInvoker

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.