|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectiaik.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
TcITcsEventMgrTcTcsi.TcsiGetPcrEvent(long, long, long)
getPcrEvent in interface TcITcsEventMgrTcTcsException
public long getPcrEventCount(long pcrIndex)
throws TcTcsException
TcITcsEventMgrTcTcsi.TcsiGetPcrEventCount(long, long)
getPcrEventCount in interface TcITcsEventMgrTcTcsException
public TcTssPcrEvent[] getPcrEventLog()
throws TcTcsException
TcITcsEventMgrTcTcsi.TcsiGetPcrEventLog(long)
getPcrEventLog in interface TcITcsEventMgrTcTcsException
public TcTssPcrEvent[] getPcrEventsByPcr(long pcrIndex,
long firstEvent,
long eventCount)
throws TcTcsException
TcITcsEventMgrTcTcsi.TcsiGetPcrEventsByPcr(long, long, long, long)
getPcrEventsByPcr in interface TcITcsEventMgrTcTcsException
public long logPcrEvent(TcTssPcrEvent pcrEvent)
throws TcTcsException
TcITcsEventMgrTcTcsi.TcsiLogPcrEvent(long, TcTssPcrEvent)
logPcrEvent in interface TcITcsEventMgrTcTcsException
public static TcITcsEventMgr getInstance()
throws TcTcsException
TcTcsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||