|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IReplicationService
IReplicationService provides an endpoint that Anzo replication operations are run against.
| Field Summary | |
|---|---|
static int |
REPLICATION_AUTOMATIC
REPLICATION_AUTOMATIC specifies that LocalModel should replicate automatically after a given time interval passes. |
static int |
REPLICATION_IMMEDIATE_ASYNC
REPLICATION_IMMEDIATE_ASYNC specifies that LocalModel should replicate automatically after every transaction submission in a asynchronous manor. |
static int |
REPLICATION_IMMEDIATE_SYNC
REPLICATION_IMMEDIATE_SYNC specifies that LocalModel should replicate automatically after every transaction submission in a synchronous manor. |
static int |
REPLICATION_MANUAL
REPLICATION_MANUAL specifies that LocalModel should never replicate automatically. |
| Method Summary | |
|---|---|
java.lang.Long |
execReplicate(java.lang.Long markerIn,
java.util.Set<ITracker> notificationTrackers,
java.util.Set<ITracker> newNotificationTrackers,
IRepositoryHandler repositoryHandler)
Replicate with the Anzo server |
| Methods inherited from interface org.openanzo.services.IService |
|---|
getServicePassword, getServiceUser, setServicePassword, setServiceUser |
| Field Detail |
|---|
static final int REPLICATION_IMMEDIATE_SYNC
static final int REPLICATION_AUTOMATIC
static final int REPLICATION_MANUAL
static final int REPLICATION_IMMEDIATE_ASYNC
| Method Detail |
|---|
java.lang.Long execReplicate(java.lang.Long markerIn,
java.util.Set<ITracker> notificationTrackers,
java.util.Set<ITracker> newNotificationTrackers,
IRepositoryHandler repositoryHandler)
throws AnzoException
markerIn - Timestamp of last replicationnotificationTrackers - Set of already replicated notification trackersnewNotificationTrackers - Set of new notification trackersrepositoryHandler - IRepositoryHandler to handle the results of the replication
AnzoException - if there was an error replicating with the server
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||