Interface SyncManager
public interface SyncManager
- 
Method SummaryModifier and TypeMethodDescriptionvoidderegister(Syncable syncable) Remove a tracked syncable.getSyncable(String key) Returns a syncable that has been registered with the central manager.Returns all syncables registered with the central manaager.booleanRegisters aSyncablewith the central manager.
- 
Method Details- 
registerRegisters aSyncablewith the central manager. This Syncable will be automatically run at the desired rate and schedule.- Returns:
- True if registration was successful.
- Throws:
- IllegalArgumentException- if the Syncable had an invalid key.
 
- 
deregisterRemove a tracked syncable. Safe to call if the syncable has not been registered, or has already been de-registered.
- 
getSyncableReturns a syncable that has been registered with the central manager.
- 
getSyncablesReturns all syncables registered with the central manaager.
 
-