Neo4j Enterprise

org.neo4j.cluster
Class ExecutorLifecycleAdapter

java.lang.Object
  extended by org.neo4j.cluster.ExecutorLifecycleAdapter
All Implemented Interfaces:
Executor, Lifecycle

public class ExecutorLifecycleAdapter
extends Object
implements Lifecycle, Executor


Constructor Summary
ExecutorLifecycleAdapter(Factory<ExecutorService> executorServiceFactory)
           
 
Method Summary
 void execute(Runnable command)
           
 void init()
           
 void shutdown()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutorLifecycleAdapter

public ExecutorLifecycleAdapter(Factory<ExecutorService> executorServiceFactory)
Method Detail

init

public void init()
          throws Throwable
Specified by:
init in interface Lifecycle
Throws:
Throwable

start

public void start()
           throws Throwable
Specified by:
start in interface Lifecycle
Throws:
Throwable

stop

public void stop()
          throws Throwable
Specified by:
stop in interface Lifecycle
Throws:
Throwable

shutdown

public void shutdown()
              throws Throwable
Specified by:
shutdown in interface Lifecycle
Throws:
Throwable

execute

public void execute(Runnable command)
Specified by:
execute in interface Executor

Neo4j Enterprise

Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.