com.activequant.archive.hbase
Class HBaseArchiveFactory
java.lang.Object
com.activequant.archive.hbase.HBaseArchiveFactory
- All Implemented Interfaces:
- IArchiveFactory
public class HBaseArchiveFactory
- extends Object
- implements IArchiveFactory
Instantiates readers and writers for different time frames.
Stores them internally in a hashmap.
Access to the getReader and getWriter methods is synchronized.
- Author:
- ustaudinger
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HBaseArchiveFactory
public HBaseArchiveFactory(String zookeeperHost)
HBaseArchiveFactory
public HBaseArchiveFactory(String zookeeperHost,
int zookeeperPort)
getReader
public IArchiveReader getReader(TimeFrame tf)
- Specified by:
getReader in interface IArchiveFactory
getWriter
public IArchiveWriter getWriter(TimeFrame tf)
- Specified by:
getWriter in interface IArchiveFactory
Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.