Package de.intarsys.tools.component
Interface ISynchronizable
- All Known Subinterfaces:
ILocator
- All Known Implementing Classes:
ByteArrayLocator,Cache,ClassLoaderResourceLocator,ClassResourceLocator,CommonLocator,DelegatingLocator,FileLocator,LocatorByReference,LocatorViewport,NullLocator,ReadOnlyLocator,StreamLocator,StringLocator,TransientLocator
public interface ISynchronizable
This describes a components ability to check its consistency with any
physical representation, for example a file system.
-
Method Summary
Modifier and TypeMethodDescriptionbooleantrueif the component is out of synch.voidsynch()Perform a synchronization with the components physical resources.
-
Method Details
-
isOutOfSynch
boolean isOutOfSynch()trueif the component is out of synch.- Returns:
trueif the component is out of synch.
-
synch
void synch()Perform a synchronization with the components physical resources.In case of a scheduled synchronization this may be called by an external daemon.
-