public class DefaultShadowDocument<T> extends Object implements ShadowDocument<T>
Constructor and Description |
---|
DefaultShadowDocument(long serverVersion,
long clientVersion,
ClientDocument<T> document) |
Modifier and Type | Method and Description |
---|---|
long |
clientVersion()
Represents the latest client version that this shadow document was based on.
|
ClientDocument<T> |
document()
The document itself.
|
long |
serverVersion()
Represents the latest server version that the this shadow document was based on.
|
String |
toString() |
public DefaultShadowDocument(long serverVersion, long clientVersion, ClientDocument<T> document)
public long serverVersion()
ShadowDocument
serverVersion
in interface ShadowDocument<T>
long
the server version.public long clientVersion()
ShadowDocument
clientVersion
in interface ShadowDocument<T>
long
the client version.public ClientDocument<T> document()
ShadowDocument
document
in interface ShadowDocument<T>
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.