public interface ResyncCapability extends Capability
| Modifier and Type | Interface and Description |
|---|---|
static class |
ResyncCapability.Listener<S>
Trigger which is invoked as storables get re-sync'd.
|
| Modifier and Type | Method and Description |
|---|---|
Repository |
getMasterRepository()
Returns the immediate master Repository, for manual comparison.
|
<S extends Storable> |
resync(java.lang.Class<S> type,
double desiredSpeed,
java.lang.String filter,
java.lang.Object... filterValues)
Re-synchronizes replicated storables against the master repository.
|
<S extends Storable> |
resync(java.lang.Class<S> type,
ResyncCapability.Listener<? super S> listener,
double desiredSpeed,
java.lang.String filter,
java.lang.Object... filterValues)
Re-synchronizes replicated storables against the master repository.
|
<S extends Storable> void resync(java.lang.Class<S> type, double desiredSpeed, java.lang.String filter, java.lang.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 filterRepositoryException<S extends Storable> void resync(java.lang.Class<S> type, ResyncCapability.Listener<? super S> listener, double desiredSpeed, java.lang.String filter, java.lang.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 filterRepositoryExceptionRepository getMasterRepository()
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.