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 TypeMethodDescriptionboolean
true
if the component is out of synch.void
synch()
Perform a synchronization with the components physical resources.
-
Method Details
-
isOutOfSynch
boolean isOutOfSynch()true
if the component is out of synch.- Returns:
true
if 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.
-