org.neo4j.kernel
Class KernelEventHandlers
java.lang.Object
org.neo4j.kernel.KernelEventHandlers
- All Implemented Interfaces:
- Lifecycle
public class KernelEventHandlers
- extends Object
- implements Lifecycle
Handle the collection of kernel event handlers, and fire events as needed.
KernelEventHandlers
public KernelEventHandlers(org.neo4j.kernel.impl.util.StringLogger log)
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
registerKernelEventHandler
public KernelEventHandler registerKernelEventHandler(KernelEventHandler handler)
unregisterKernelEventHandler
public KernelEventHandler unregisterKernelEventHandler(KernelEventHandler handler)
kernelPanic
public void kernelPanic(ErrorState error,
Throwable cause)
Copyright © 2002-2014 The Neo4j Graph Database Project. All Rights Reserved.