com.cc.framework.ui.model
Interface Cachable


public interface Cachable

Implemented by controls which uses a caching mechanism

Since:
1.0
Version:
$Revision: 1.11 $
Author:
Harald Schulz

Method Summary
 boolean cacheOnDisk()
          This Method checks if a resource is cached in memory or on the disk (file system)
 java.lang.String getCacheHint()
          The class which implement this interface can signal that some changes at the data model will be done.
 

Method Detail

getCacheHint

public java.lang.String getCacheHint()
The class which implement this interface can signal that some changes at the data model will be done. Two data models are considered to be equal, when a call to this method in both cases returns true. If one did not, the data models are different. If null is returned, then a caching will not be used.

Returns:
String

cacheOnDisk

public boolean cacheOnDisk()
This Method checks if a resource is cached in memory or on the disk (file system)

Returns:
true if the object can be cached on the disk (file system); false otherwise.


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.