Package | Description |
---|---|
org.jboss.aerogear.sync |
This package contains interfaces for AeroGear Sync.
|
org.jboss.aerogear.sync.client |
This package contains interfaces for AeroGear Sync Client API.
|
org.jboss.aerogear.sync.diffmatchpatch.client |
This package contains classes for the DiffMatchPatch synchronizer client
|
org.jboss.aerogear.sync.diffmatchpatch.server |
This package contains classes for the DiffMatchPatch synchronizer server
|
org.jboss.aerogear.sync.jsonmergepatch.client |
This package contains classes for the JSON Merge Patch synchronizer client
|
org.jboss.aerogear.sync.jsonmergepatch.server |
This package contains classes for the JSON Merge Patch synchronizer server
|
org.jboss.aerogear.sync.jsonpatch.client |
This package contains classes for the JSON Patch synchronizer client
|
org.jboss.aerogear.sync.jsonpatch.server |
This package contains classes for the JSON Patch synchronizer server
|
org.jboss.aerogear.sync.server |
This package contains interfaces for AeroGear Sync Server API.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultShadowDocument<T> |
Modifier and Type | Method and Description |
---|---|
ShadowDocument<T> |
DataStore.getShadowDocument(String documentId,
String clientId)
Retrieves the
ShadowDocument matching the passed-in document documentId. |
ShadowDocument<T> |
DefaultBackupShadowDocument.shadow() |
ShadowDocument<T> |
BackupShadowDocument.shadow()
The
ShadowDocument that this instance is backing up. |
Modifier and Type | Method and Description |
---|---|
void |
DataStore.saveShadowDocument(ShadowDocument<T> shadowDocument)
Saves a shadow document.
|
Constructor and Description |
---|
DefaultBackupShadowDocument(long version,
ShadowDocument<T> shadow) |
Modifier and Type | Method and Description |
---|---|
ShadowDocument<T> |
ClientInMemoryDataStore.getShadowDocument(String documentId,
String clientId) |
ShadowDocument<T> |
ClientSynchronizer.patchShadow(S edit,
ShadowDocument<T> shadowDocument)
Called when the shadow should be patched.
|
Modifier and Type | Method and Description |
---|---|
S |
ClientSynchronizer.clientDiff(ShadowDocument<T> shadowDocument,
ClientDocument<T> document)
|
ShadowDocument<T> |
ClientSynchronizer.patchShadow(S edit,
ShadowDocument<T> shadowDocument)
Called when the shadow should be patched.
|
void |
ClientInMemoryDataStore.saveShadowDocument(ShadowDocument<T> shadowDocument) |
S |
ClientSynchronizer.serverDiff(ClientDocument<T> document,
ShadowDocument<T> shadowDocument)
|
Modifier and Type | Method and Description |
---|---|
ShadowDocument<String> |
DiffMatchPatchClientSynchronizer.patchShadow(DiffMatchPatchEdit edit,
ShadowDocument<String> shadowDocument) |
Modifier and Type | Method and Description |
---|---|
DiffMatchPatchEdit |
DiffMatchPatchClientSynchronizer.clientDiff(ShadowDocument<String> shadowDocument,
ClientDocument<String> document) |
ShadowDocument<String> |
DiffMatchPatchClientSynchronizer.patchShadow(DiffMatchPatchEdit edit,
ShadowDocument<String> shadowDocument) |
DiffMatchPatchEdit |
DiffMatchPatchClientSynchronizer.serverDiff(ClientDocument<String> document,
ShadowDocument<String> shadowDocument) |
Modifier and Type | Method and Description |
---|---|
ShadowDocument<String> |
DiffMatchPatchServerSynchronizer.patchShadow(DiffMatchPatchEdit edit,
ShadowDocument<String> shadowDocument) |
Modifier and Type | Method and Description |
---|---|
DiffMatchPatchEdit |
DiffMatchPatchServerSynchronizer.clientDiff(Document<String> document,
ShadowDocument<String> shadowDocument) |
ShadowDocument<String> |
DiffMatchPatchServerSynchronizer.patchShadow(DiffMatchPatchEdit edit,
ShadowDocument<String> shadowDocument) |
DiffMatchPatchEdit |
DiffMatchPatchServerSynchronizer.serverDiff(Document<String> document,
ShadowDocument<String> shadowDocument) |
Modifier and Type | Method and Description |
---|---|
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> |
JsonMergePatchClientSynchronizer.patchShadow(JsonMergePatchEdit edit,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
Modifier and Type | Method and Description |
---|---|
JsonMergePatchEdit |
JsonMergePatchClientSynchronizer.clientDiff(ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument,
ClientDocument<com.fasterxml.jackson.databind.JsonNode> document) |
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> |
JsonMergePatchClientSynchronizer.patchShadow(JsonMergePatchEdit edit,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
JsonMergePatchEdit |
JsonMergePatchClientSynchronizer.serverDiff(ClientDocument<com.fasterxml.jackson.databind.JsonNode> document,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
Modifier and Type | Method and Description |
---|---|
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> |
JsonMergePatchServerSynchronizer.patchShadow(JsonMergePatchEdit edit,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
Modifier and Type | Method and Description |
---|---|
JsonMergePatchEdit |
JsonMergePatchServerSynchronizer.clientDiff(Document<com.fasterxml.jackson.databind.JsonNode> document,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> |
JsonMergePatchServerSynchronizer.patchShadow(JsonMergePatchEdit edit,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
JsonMergePatchEdit |
JsonMergePatchServerSynchronizer.serverDiff(Document<com.fasterxml.jackson.databind.JsonNode> document,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
Modifier and Type | Method and Description |
---|---|
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> |
JsonPatchClientSynchronizer.patchShadow(JsonPatchEdit edit,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
Modifier and Type | Method and Description |
---|---|
JsonPatchEdit |
JsonPatchClientSynchronizer.clientDiff(ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument,
ClientDocument<com.fasterxml.jackson.databind.JsonNode> document) |
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> |
JsonPatchClientSynchronizer.patchShadow(JsonPatchEdit edit,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
JsonPatchEdit |
JsonPatchClientSynchronizer.serverDiff(ClientDocument<com.fasterxml.jackson.databind.JsonNode> document,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
Modifier and Type | Method and Description |
---|---|
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> |
JsonPatchServerSynchronizer.patchShadow(JsonPatchEdit edit,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
Modifier and Type | Method and Description |
---|---|
JsonPatchEdit |
JsonPatchServerSynchronizer.clientDiff(Document<com.fasterxml.jackson.databind.JsonNode> document,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> |
JsonPatchServerSynchronizer.patchShadow(JsonPatchEdit edit,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
JsonPatchEdit |
JsonPatchServerSynchronizer.serverDiff(Document<com.fasterxml.jackson.databind.JsonNode> document,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
Modifier and Type | Method and Description |
---|---|
ShadowDocument<T> |
ServerInMemoryDataStore.getShadowDocument(String documentId,
String clientId) |
ShadowDocument<T> |
ServerSynchronizer.patchShadow(S edit,
ShadowDocument<T> shadowDocument)
Called when the shadow should be patched.
|
Modifier and Type | Method and Description |
---|---|
S |
ServerSynchronizer.clientDiff(Document<T> document,
ShadowDocument<T> shadowDocument)
Is called to produce an
Edit of changes coming from a client. |
ShadowDocument<T> |
ServerSynchronizer.patchShadow(S edit,
ShadowDocument<T> shadowDocument)
Called when the shadow should be patched.
|
void |
ServerInMemoryDataStore.saveShadowDocument(ShadowDocument<T> shadowDocument) |
S |
ServerSynchronizer.serverDiff(Document<T> document,
ShadowDocument<T> shadowDocument)
The first step in a sync is to produce a an edit for the changes.
|
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.