|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Atomicity
Interface defines the basic operations which every atomicity should support.
Method Summary | |
---|---|
void |
genXML(javax.xml.transform.sax.TransformerHandler hd,
boolean learning)
Generates XML apropriate record of the atomicity. |
Access[] |
getAtomEnds()
Returns the array of ending Accesses. |
RaceDetector.Operation |
getBeginOp()
Returns the access type of the atomicity begin operation. |
java.lang.String |
getKeyProgLocation()
Returns ConTest program location of the start Access to the Atomicity. |
void |
incViolation()
Calling of this method will safely increment tne counter of this atomicity violation - this value is used during the learning stage. |
RaceDetector.Operation |
isEnd(java.lang.String progLocation)
Returns true if the given program location represents the end of the atomicity. |
java.lang.String |
toString()
Returns string representation of the atomicity - suitable for users. |
Method Detail |
---|
java.lang.String getKeyProgLocation()
RaceDetector.Operation getBeginOp()
Access[] getAtomEnds()
void incViolation()
RaceDetector.Operation isEnd(java.lang.String progLocation)
progLocation
- ConTest program location.void genXML(javax.xml.transform.sax.TransformerHandler hd, boolean learning) throws org.xml.sax.SAXException
hd
- learning
- True if the violation count should be also written
org.xml.sax.SAXException
java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |