intarsys runtime library

de.intarsys.tools.component
Interface ISynchronizable

All Known Subinterfaces:
ILocator
All Known Implementing Classes:
ByteArrayLocator, Cache, ClassLoaderResourceLocator, ClassResourceLocator, CommonLocator, DelegatingLocator, FileLocator, LocatorByReference, LocatorViewport, 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
 boolean isOutOfSynch()
          true if the component is out of synch.
 void synch()
          Perform a synchronization with the components physical resources.
 

Method Detail

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.


intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.