net.opentsdb.tsd
Class PipelineFactory
java.lang.Object
net.opentsdb.tsd.PipelineFactory
- All Implemented Interfaces:
- ChannelPipelineFactory
public final class PipelineFactory
- extends Object
- implements ChannelPipelineFactory
Creates a newly configured ChannelPipeline for a new channel.
This class is supposed to be a singleton.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PipelineFactory
public PipelineFactory(TSDB tsdb)
- Constructor.
- Parameters:
tsdb - The TSDB to use.
getPipeline
public ChannelPipeline getPipeline()
throws Exception
- Specified by:
getPipeline in interface ChannelPipelineFactory
- Throws:
Exception