org.castor.cache.hashbelt

Class FIFOHashbelt

public final class FIFOHashbelt extends AbstractHashbelt

A perfectly ordinary hashbelt. Objects all go into the first container on the belt, and make their way down over time until they fall off the end.

Since: 1.0

Version: $Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $

Author: Ralf Joachim

Field Summary
static StringTYPE
The type of the cache.
Method Summary
Objectget(Object key)
StringgetType()
Objectput(Object key, Object value)
voidputAll(Map map)
Objectremove(Object key)

Field Detail

TYPE

public static final String TYPE
The type of the cache.

Method Detail

get

public Object get(Object key)
{@inheritDoc }

See Also: java.util.Map#get(java.lang.Object)

getType

public String getType()
{@inheritDoc }

See Also: getType

put

public Object put(Object key, Object value)
{@inheritDoc }

See Also: java.util.Map#put(java.lang.Object, java.lang.Object)

putAll

public void putAll(Map map)
{@inheritDoc }

See Also: java.util.Map#putAll(java.util.Map)

remove

public Object remove(Object key)
{@inheritDoc }

See Also: java.util.Map#remove(java.lang.Object)

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com