mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 21:35:40 +02:00
Documentation
This commit is contained in:
parent
d08f8469bc
commit
2cd5b59772
1 changed files with 13 additions and 10 deletions
|
@ -29,17 +29,20 @@ public interface ICache<V> {
|
||||||
* The executor that must be used to access this cache.
|
* The executor that must be used to access this cache.
|
||||||
*/
|
*/
|
||||||
public DsfExecutor getExecutor();
|
public DsfExecutor getExecutor();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the current data value held by this cache. Clients should first
|
* Returns the current data value held by this cache. Clients should first
|
||||||
* call isValid() to determine if the data is up to date.
|
* call isValid() to determine if the data is up to date. Calling this when
|
||||||
*/
|
* in the invalid state will throw an IllegalStateException
|
||||||
|
*/
|
||||||
public V getData();
|
public V getData();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the status of the source request held by this cache. Clients
|
* Returns the status of the source request held by this cache. Clients
|
||||||
* should first call isValid() to determine if the data is up to date.
|
* should first call isValid() to determine if the data is up to date.
|
||||||
*/
|
* Calling this when in the invalid state will throw an
|
||||||
|
* IllegalStateException
|
||||||
|
*/
|
||||||
public IStatus getStatus();
|
public IStatus getStatus();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue