org.neo4j.cluster
Class ExecutorLifecycleAdapter
java.lang.Object
org.neo4j.cluster.ExecutorLifecycleAdapter
- All Implemented Interfaces:
- Executor, Lifecycle
public class ExecutorLifecycleAdapter
- extends Object
- implements Lifecycle, Executor
ExecutorLifecycleAdapter
public ExecutorLifecycleAdapter(Factory<ExecutorService> executorServiceFactory)
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
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.