|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.csc.phynixx.tutorial.TAEnabledUTFWriterImpl
public class TAEnabledUTFWriterImpl
Basisklasse zur Verwaltung von Filezugriffen.
A RandomAccessFile provides random access to the file's content.
Constructor Summary | |
---|---|
TAEnabledUTFWriterImpl(String connectionId,
UTFWriter writer)
|
Method Summary | |
---|---|
void |
close()
Schliesst die Datei und den FileChannel |
void |
commit()
|
String |
getConnectionId()
|
IXADataRecorder |
getXADataRecorder()
|
boolean |
isAutoCommit()
|
boolean |
isClosed()
zeigt an, ob die Instanz geschlossen ist |
void |
prepare()
definiert den gueltigen Zustand nach commit |
List<String> |
readContent()
reads the content |
IDataRecordReplay |
recoverReplayListener()
|
void |
reset()
bereitet die Writer zur Wiederverwendung vor |
void |
resetContent()
resets the content of the file associated with die current transaction |
void |
rollback()
|
void |
setAutoCommit(boolean autoCommit)
|
void |
setXADataRecorder(IXADataRecorder xaDataRecorder)
|
String |
toString()
|
TAEnabledUTFWriter |
write(String value)
writes a string to file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TAEnabledUTFWriterImpl(String connectionId, UTFWriter writer) throws Exception
Exception
Method Detail |
---|
public String getConnectionId()
getConnectionId
in interface TAEnabledUTFWriter
public boolean isAutoCommit()
isAutoCommit
in interface IAutoCommitAware
public void setAutoCommit(boolean autoCommit)
setAutoCommit
in interface IAutoCommitAware
public void close()
close
in interface IPhynixxConnection
public boolean isClosed()
@RequiresTransaction public void resetContent() throws IOException
TAEnabledUTFWriter
resetContent
in interface TAEnabledUTFWriter
IOException
@RequiresTransaction public TAEnabledUTFWriter write(String value) throws IOException
TAEnabledUTFWriter
write
in interface TAEnabledUTFWriter
IOException
public List<String> readContent() throws IOException
TAEnabledUTFWriter
readContent
in interface TAEnabledUTFWriter
IOException
public void reset()
reset
in interface IPhynixxConnection
public void commit()
commit
in interface IPhynixxConnection
public void rollback()
rollback
in interface IPhynixxConnection
public void prepare()
prepare
in interface IPhynixxConnection
public String toString()
toString
in class Object
public void setXADataRecorder(IXADataRecorder xaDataRecorder)
setXADataRecorder
in interface IXADataRecorderAware
xaDataRecorder
- public IXADataRecorder getXADataRecorder()
getXADataRecorder
in interface IXADataRecorderAware
public IDataRecordReplay recoverReplayListener()
recoverReplayListener
in interface IXADataRecorderAware
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |