|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResyncCapability
Capability of replicating repositories for re-synchronizing to the master repository. A re-sync operation can be used to fill up a fresh replication repository or to repair inconsistencies.
| Nested Class Summary | |
|---|---|
static interface |
ResyncCapability.Listener<S>
Defines callbacks which are invoked as storables get re-sync'd. |
| Method Summary | ||
|---|---|---|
Repository |
getMasterRepository()
Returns the immediate master Repository, for manual comparison. |
|
|
resync(Class<S> type,
double desiredSpeed,
String filter,
Object... filterValues)
Re-synchronizes replicated storables against the master repository. |
|
|
resync(Class<S> type,
ResyncCapability.Listener<? super S> listener,
double desiredSpeed,
String filter,
Object... filterValues)
Re-synchronizes replicated storables against the master repository. |
|
| Method Detail |
|---|
<S extends Storable> void resync(Class<S> type,
double desiredSpeed,
String filter,
Object... filterValues)
throws RepositoryException
type - type of storable to re-syncdesiredSpeed - throttling parameter - 1.0 = full speed, 0.5 = half
speed, 0.1 = one-tenth speed, etcfilter - optional query filter to limit which objects get re-sync'edfilterValues - filter values for optional filter
RepositoryException
<S extends Storable> void resync(Class<S> type,
ResyncCapability.Listener<? super S> listener,
double desiredSpeed,
String filter,
Object... filterValues)
throws RepositoryException
type - type of storable to re-synclistener - optional listener which gets notified as storables are re-sync'ddesiredSpeed - throttling parameter - 1.0 = full speed, 0.5 = half
speed, 0.1 = one-tenth speed, etcfilter - optional query filter to limit which objects get re-sync'edfilterValues - filter values for optional filter
RepositoryExceptionRepository getMasterRepository()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||