public class SyncService extends Object
The service automatially starts during deployment. When all the data is synchronized (syncpoint == last snapshot), the service terminates.
To access the data form the Imixs-Workflow instance uses RemoteAPIService.
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SCHEDULER_DEFINITION |
static String |
ITEM_SYNCCOUNT |
static String |
ITEM_SYNCPOINT |
static String |
ITEM_SYNCSIZE |
static String |
MESSAGE_TOPIC |
static String |
TIMER_ID_SYNCSERVICE |
| Constructor and Description |
|---|
SyncService() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Stops the current sync
|
boolean |
isRunning()
returns true if the service is running
|
void |
start()
This method initializes a new timer for the sync ....
|
public static final String TIMER_ID_SYNCSERVICE
public static final String ITEM_SYNCPOINT
public static final String ITEM_SYNCCOUNT
public static final String ITEM_SYNCSIZE
public static final String DEFAULT_SCHEDULER_DEFINITION
public static final String MESSAGE_TOPIC
public void start()
throws ArchiveException
The method also verifies the existence of the archive keyspace by loading the archive session object.
ArchiveExceptionpublic void cancel()
throws ArchiveException
ArchiveExceptionpublic boolean isRunning()
Copyright © 2016–2020 Imixs Software Solutions GmbH. All rights reserved.