org.egothor.listener
Class TransactionListener
java.lang.Object
org.egothor.listener.TransactionListener
- All Implemented Interfaces:
- ListenBarrelWriter, ListenSlotMap
public class TransactionListener
- extends java.lang.Object
- implements ListenSlotMap
TransactionListener.java
Created on 1. srpen 2006, 23:58
- Author:
- galambos
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionListener
public TransactionListener(java.lang.String transactionBaseFilename,
long transactionID)
throws java.io.IOException
- Throws:
java.io.IOException
TransactionListener
public TransactionListener(java.lang.String listenerFilename)
throws java.io.IOException
- Throws:
java.io.IOException
logDestroy
public void logDestroy(int localSlot)
- Specified by:
logDestroy
in interface ListenSlotMap
logSave
public void logSave(int localSlot)
- Specified by:
logSave
in interface ListenSlotMap
logRemoval
public void logRemoval(long gid,
int slot,
long lid)
- Specified by:
logRemoval
in interface ListenSlotMap
logAssignment
public void logAssignment(long gid,
long lid)
- Specified by:
logAssignment
in interface ListenBarrelWriter
rollback
public void rollback()
- Specified by:
rollback
in interface ListenSlotMap
readGSL
public SequenceWithClose<GlobalPosition> readGSL()
throws java.io.IOException
- Specified by:
readGSL
in interface ListenSlotMap
- Throws:
java.io.IOException