|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.content.replication.ContentStoreReplicator
public class ContentStoreReplicator
This component performs one-way replication between to content stores.
It ensure that the content from the first store is copied to the second store where required, therefore primarily acting as a backup or replication mechanism.
Once started, this process runs continuously on a low-priority thread and cannot be restarted.
| Nested Class Summary | |
|---|---|
static class |
ContentStoreReplicator.ContentStoreReplicatorJob
Kicks off the content store replicator. |
| Constructor Summary | |
|---|---|
ContentStoreReplicator()
|
|
| Method Summary | |
|---|---|
void |
setRunContinuously(boolean runContinuously)
Deprecated. use the job to trigger |
void |
setSourceStore(ContentStore sourceStore)
Set the source that content must be taken from |
void |
setTargetStore(ContentStore targetStore)
Set the target that content must be written to |
void |
setWaitTime(long waitTime)
Deprecated. use the job to trigger |
void |
start()
Kick off the replication thread. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentStoreReplicator()
| Method Detail |
|---|
public void setSourceStore(ContentStore sourceStore)
sourceStore - the content sourcepublic void setTargetStore(ContentStore targetStore)
targetStore - the content targetpublic void setRunContinuously(boolean runContinuously)
job to trigger
public void setWaitTime(long waitTime)
job to trigger
public void start()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||