当前页面:
在线文档首页 >
JBoss 3.2.7 messaging API Documentation 英文版文档
IntegrityLog (JBoss Messaging API) - JBoss 3.2.7 messaging API Documentation 英文版文档
org.jboss.mq.pm.rollinglogged
Class IntegrityLog
java.lang.Object
org.jboss.mq.pm.rollinglogged.IntegrityLog
- public class IntegrityLog
- extends Object
This class is used to create a log file which which will will garantee it's
integrety up to the last commit point. An optimised version of the
integrityLog in the logged persistence.
- Version:
- $Revision: 1.4.4.2 $
Field Summary |
protected static byte |
ADD
|
protected static byte |
REMOVE
|
protected static byte |
TX
|
protected static byte |
UPDATE
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TX
protected static final byte TX
- See Also:
- Constant Field Values
ADD
protected static final byte ADD
- See Also:
- Constant Field Values
REMOVE
protected static final byte REMOVE
- See Also:
- Constant Field Values
UPDATE
protected static final byte UPDATE
- See Also:
- Constant Field Values
IntegrityLog
public IntegrityLog(File file)
throws IOException
commit
public void commit()
throws IOException
- Throws:
IOException
delete
public void delete()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
add
public void add(long messageID,
boolean isTransacted,
long txId,
SpyMessage message)
throws IOException
- Throws:
IOException
remove
public void remove(long messageID,
boolean isTransacted,
long txId)
throws IOException
- Throws:
IOException
update
public void update(long messageID,
boolean isTransacted,
long txId,
SpyMessage message)
throws IOException
- Throws:
IOException
skipNextEntry
public void skipNextEntry(ObjectInput in)
throws IOException
- Throws:
IOException
toIndex
public LinkedList toIndex()
throws IOException
- Throws:
IOException
toTreeSet
public TreeSet toTreeSet()
throws IOException
- Throws:
IOException
readNextEntry
public Object readNextEntry(ObjectInput in)
throws IOException
- Throws:
IOException
addTx
public void addTx(Tx tx)
throws IOException
- Throws:
IOException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.