org.opennms.core.fiber
Interface InitializableFiber
- All Superinterfaces:
- Fiber
public interface InitializableFiber
- extends Fiber
This class is used to extend the Fiber interface so that is
has a concept of a life cycle. Prior to starting the fiber the
init method will be invoked. Likewise, prior to garbage
collection the destroy method should be invoked.
- Author:
- Brian Weaver , OpenNMS
|
Method Summary |
void |
destroy()
This method is used to stop a currently running Fiber. |
void |
init()
This method is used to start the initilization process of the
Fiber, which should eventually transition to a
RUNNING status. |
init
void init()
- This method is used to start the initilization process of the
Fiber, which should eventually transition to a
RUNNING status.
destroy
void destroy()
- This method is used to stop a currently running
Fiber.
Once invoked the Fiber should begin it's shutdown process.
Depending on the implementation, this method may block until the
Fiber terminates.
Copyright © 2009. All Rights Reserved.