net.opentsdb.tsd
Class PipelineFactory

java.lang.Object
  extended by 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.


Constructor Summary
PipelineFactory(TSDB tsdb)
          Constructor.
 
Method Summary
 ChannelPipeline getPipeline()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PipelineFactory

public PipelineFactory(TSDB tsdb)
Constructor.

Parameters:
tsdb - The TSDB to use.
Method Detail

getPipeline

public ChannelPipeline getPipeline()
                            throws Exception
Specified by:
getPipeline in interface ChannelPipelineFactory
Throws:
Exception