Package com.jalios.jstore.jsync
Class CommitWorkMessage
- java.lang.Object
-
- com.jalios.jstore.jsync.Message
-
- com.jalios.jstore.jsync.CommitWorkMessage
-
public class CommitWorkMessage extends Message
This class represents a JSync CommitWork message. Example :<?xml version='1.0' encoding='UTF-8'?> <jsync version='1.0'> <commitwork urid='rleader' gcs='c_123456789' lineCount='42' check='false' /> </jsync>
- Since:
- jcms-10.0.8
-
-
Constructor Summary
Constructors Constructor Description CommitWorkMessage(java.lang.String urid, Stamp gcs, long lineCount, boolean check)
Constructs a new CommitWorkMessageCommitWorkMessage(org.jdom.Element root)
Constructs a new CommitWorkMessage from an XML element
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getCheck()
Stamp
getGcs()
long
getLineCount()
java.lang.String
toXml()
-
Methods inherited from class com.jalios.jstore.jsync.Message
getTime, getUrid, getXmlFooter, getXmlHeader, parse, stampToXml, toString
-
-
-
-
Constructor Detail
-
CommitWorkMessage
public CommitWorkMessage(java.lang.String urid, Stamp gcs, long lineCount, boolean check)
Constructs a new CommitWorkMessage- Parameters:
urid
- the urid of the sendergcs
- the GCSlineCount
- the line countcheck
- if true this is a message
-
CommitWorkMessage
public CommitWorkMessage(org.jdom.Element root)
Constructs a new CommitWorkMessage from an XML element- Parameters:
root
- the root element (i.e. the<join>
tag)- Since:
- jcms-4.1
-
-