synchronization
Class SynchronizationStrategy

java.lang.Object
  extended by 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.


Field Summary
(package private)  ConflictResolutionStrategy conflictResolution
           
 
Constructor Summary
SynchronizationStrategy()
           
 
Method Summary
abstract  void synchronize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conflictResolution

ConflictResolutionStrategy conflictResolution
Constructor Detail

SynchronizationStrategy

public SynchronizationStrategy()
Method Detail

synchronize

public abstract void synchronize()