synchronization
Class SynchronizationStrategy
java.lang.Object
synchronization.SynchronizationStrategy
public abstract class SynchronizationStrategy
- extends Object
Component that must be extended by all synchronization strategies (Strategy pattern).
Synchronization may be done in several ways, which are established at application level, not
at domain level. For example synchronization is done differently on mobile devices due to bandwidth
limitations (thus the use of important files list). The synchronization strategy may vary
also depending on the file size, for larger files (hundreds of MB) a piece-based synchronization
is preferable.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
conflictResolution
ConflictResolutionStrategy conflictResolution
SynchronizationStrategy
public SynchronizationStrategy()
synchronize
public abstract void synchronize()