|
xmlBlaster 1.5.1 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for InvocationRecorder, forces the supported methods.
RamRecorder
,
FileRecorder
Method Summary | |
void |
destroy()
Reset the queue, throw all entries to garbage. |
java.lang.String |
getFullFileName()
Returns the name of the database file or null if RAM based |
long |
getNumLost()
How many messages are silently lost in 'discard' or 'discardOldest' mode? |
long |
getNumUnread()
How many objects are in the queue. |
void |
initialize(Global glob,
java.lang.String fn,
long maxEntries,
I_XmlBlaster serverCallback)
Called by plugin manager. |
boolean |
isFull()
|
void |
playback(long startDate,
long endDate,
double motionFactor)
Playback the stored messages, without removing them form the recorder. |
void |
pullback(float msgPerSec)
Playback the stored messages, the are removed from the recorder after the callback. |
void |
pullback(long startDate,
long endDate,
double motionFactor)
Playback the stored messages, the are removed from the recorder after the callback. |
void |
setMode(java.lang.String mode)
|
void |
shutdown()
Close the queue, entries are still available (e.g. |
Methods inherited from interface org.xmlBlaster.client.protocol.I_XmlBlaster |
erase, get, publish, publishArr, publishOneway, subscribe, unSubscribe |
Method Detail |
public void initialize(Global glob, java.lang.String fn, long maxEntries, I_XmlBlaster serverCallback) throws XmlBlasterException
fn
- The file name (without path information!) for persistence or null (will be generated or ignored if RAM based)maxEntries
- The maximum number of invocations to storeserverCallback
- You need to implement I_XmlBlaster to receive the invocations on playback
null if you are not interested in those
XmlBlasterException
public void setMode(java.lang.String mode)
public boolean isFull() throws XmlBlasterException
XmlBlasterException
public long getNumUnread()
public long getNumLost()
public java.lang.String getFullFileName()
public void playback(long startDate, long endDate, double motionFactor) throws XmlBlasterException
startDate
- Start date for playback, 0 means from the very startendDate
- End date to stop playback, pass 0 to go to the very endmotionFactor
- for fast motion choose for example 4.0
so four reals seconds are elapsing in one second.XmlBlasterException
public void pullback(long startDate, long endDate, double motionFactor) throws XmlBlasterException
startDate
- Start date for playback, 0 means from the very startendDate
- End date to stop playback, pass 0 to go to the very endmotionFactor
- for fast motion choose for example 4.0
so four reals seconds are elapsing in one second.XmlBlasterException
public void pullback(float msgPerSec) throws XmlBlasterException
msgPerSec
- 20. is 20 msg/sec, 0.1 is one message every 10 seconds
XmlBlasterException
public void destroy()
public void shutdown()
|
xmlBlaster 1.5.1 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |