|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object iaik.tc.tss.impl.java.tcs.eventmgr.TcTcsEventMgrMem
public class TcTcsEventMgrMem
This class implements a basic "in memory" event manager. That is, all events are stored in memory. Since the TCS is a software that might run long times without being restarted this type of implementation has the drawback that the memory footprint will increase over time (events do not get removed from the log once they are added). Alternative implementations might use some database and/or disk backends to provide better scalability and efficiency.
Method Summary | |
---|---|
static TcITcsEventMgr |
getInstance()
|
TcTssPcrEvent |
getPcrEvent(long pcrIndex,
long number)
TcTcsi.TcsiGetPcrEvent(long, long, long) |
long |
getPcrEventCount(long pcrIndex)
TcTcsi.TcsiGetPcrEventCount(long, long) |
TcTssPcrEvent[] |
getPcrEventLog()
TcTcsi.TcsiGetPcrEventLog(long) |
TcTssPcrEvent[] |
getPcrEventsByPcr(long pcrIndex,
long firstEvent,
long eventCount)
TcTcsi.TcsiGetPcrEventsByPcr(long, long, long, long) |
long |
logPcrEvent(TcTssPcrEvent pcrEvent)
TcTcsi.TcsiLogPcrEvent(long, TcTssPcrEvent) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public TcTssPcrEvent getPcrEvent(long pcrIndex, long number) throws TcTcsException
TcITcsEventMgr
TcTcsi.TcsiGetPcrEvent(long, long, long)
getPcrEvent
in interface TcITcsEventMgr
TcTcsException
public long getPcrEventCount(long pcrIndex) throws TcTcsException
TcITcsEventMgr
TcTcsi.TcsiGetPcrEventCount(long, long)
getPcrEventCount
in interface TcITcsEventMgr
TcTcsException
public TcTssPcrEvent[] getPcrEventLog() throws TcTcsException
TcITcsEventMgr
TcTcsi.TcsiGetPcrEventLog(long)
getPcrEventLog
in interface TcITcsEventMgr
TcTcsException
public TcTssPcrEvent[] getPcrEventsByPcr(long pcrIndex, long firstEvent, long eventCount) throws TcTcsException
TcITcsEventMgr
TcTcsi.TcsiGetPcrEventsByPcr(long, long, long, long)
getPcrEventsByPcr
in interface TcITcsEventMgr
TcTcsException
public long logPcrEvent(TcTssPcrEvent pcrEvent) throws TcTcsException
TcITcsEventMgr
TcTcsi.TcsiLogPcrEvent(long, TcTssPcrEvent)
logPcrEvent
in interface TcITcsEventMgr
TcTcsException
public static TcITcsEventMgr getInstance() throws TcTcsException
TcTcsException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |