org.objectweb.perseus.cache.replacement.api

Interface ReplaceableCacheEntry

All Superinterfaces:
CacheEntry, FixableCacheEntry
Known Implementing Classes:
BasicReplaceableCacheEntry

public interface ReplaceableCacheEntry
extends FixableCacheEntry

It defines an entry which contains a logical clock which permits to implement some replacement politic.

Author:
E.Bruneton

Method Summary

long
getCeAge()
void
setCeAge(long age)
It assignes a logical age to the entry.

Methods inherited from interface org.objectweb.perseus.cache.api.CacheEntry

getCeIdentifier, getCeObject

Methods inherited from interface org.objectweb.perseus.cache.api.FixableCacheEntry

fixCe, getCeFixCount, unfixCe

Method Details

getCeAge

public long getCeAge()

Returns:
the logical age of the entry.


setCeAge

public void setCeAge(long age)
It assignes a logical age to the entry.

Parameters:
age -


Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.