|
|||||||||
| 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 TAEnabledUTFWriterpublic boolean isAutoCommit()
isAutoCommit in interface IAutoCommitAwarepublic void setAutoCommit(boolean autoCommit)
setAutoCommit in interface IAutoCommitAwarepublic void close()
close in interface IPhynixxConnectionpublic boolean isClosed()
@RequiresTransaction
public void resetContent()
throws IOException
TAEnabledUTFWriter
resetContent in interface TAEnabledUTFWriterIOException
@RequiresTransaction
public TAEnabledUTFWriter write(String value)
throws IOException
TAEnabledUTFWriter
write in interface TAEnabledUTFWriterIOException
public List<String> readContent()
throws IOException
TAEnabledUTFWriter
readContent in interface TAEnabledUTFWriterIOExceptionpublic void reset()
reset in interface IPhynixxConnectionpublic void commit()
commit in interface IPhynixxConnectionpublic void rollback()
rollback in interface IPhynixxConnectionpublic void prepare()
prepare in interface IPhynixxConnectionpublic String toString()
toString in class Objectpublic void setXADataRecorder(IXADataRecorder xaDataRecorder)
setXADataRecorder in interface IXADataRecorderAwarexaDataRecorder - public IXADataRecorder getXADataRecorder()
getXADataRecorder in interface IXADataRecorderAwarepublic IDataRecordReplay recoverReplayListener()
recoverReplayListener in interface IXADataRecorderAware
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||