Package deltix.qsrv.hf.tickdb.ui.tbshell
Class DBMgr
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.ui.tbshell.DBMgr
-
public class DBMgr extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DBMgr(TickDBShell shell)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkChannels()
boolean
checkDb()
boolean
checkSingleStream()
boolean
checkStream()
boolean
doCommand(java.lang.String key, java.lang.String args)
protected void
doSet()
DXChannel<deltix.qsrv.hf.pub.InstrumentMessage>
getChannel(java.lang.String key)
DXChannel[]
getChannels(DXTickDB tdb, java.lang.String list)
DXChannel[]
getChannels(TopicDB tdb, java.lang.String list)
DXTickDB
getDB()
int
getDF()
DXChannel<deltix.qsrv.hf.pub.InstrumentMessage>
getSingleChannel()
DXTickStream
getSingleStream()
DXTickStream
getStream(java.lang.String key)
DXTickStream[]
getStreams()
DXTickStream[]
getStreams(java.lang.String list)
java.lang.String
pstreams()
void
setDb(DXTickDB db)
void
setStreams(DXTickStream... streams)
java.lang.String
toString(DXChannel[] channels)
-
-
-
Constructor Detail
-
DBMgr
public DBMgr(TickDBShell shell)
-
-
Method Detail
-
setDb
public void setDb(DXTickDB db)
-
setStreams
public void setStreams(DXTickStream... streams)
-
getDB
public DXTickDB getDB()
-
getStreams
public DXTickStream[] getStreams()
-
getSingleStream
public DXTickStream getSingleStream()
-
getDF
public int getDF()
-
doSet
protected void doSet()
-
doCommand
public boolean doCommand(java.lang.String key, java.lang.String args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getStream
public DXTickStream getStream(java.lang.String key)
-
getStreams
public DXTickStream[] getStreams(java.lang.String list)
-
getChannel
public DXChannel<deltix.qsrv.hf.pub.InstrumentMessage> getChannel(java.lang.String key)
-
getSingleChannel
public DXChannel<deltix.qsrv.hf.pub.InstrumentMessage> getSingleChannel()
-
pstreams
public java.lang.String pstreams()
-
toString
public java.lang.String toString(DXChannel[] channels)
-
checkStream
public boolean checkStream()
-
checkChannels
public boolean checkChannels()
-
checkDb
public boolean checkDb()
-
checkSingleStream
public boolean checkSingleStream()
-
-