org.objectweb.dream.queue.keyed
Interface BufferAttributeControllerKeyChunkAdd

All Superinterfaces:
AttributeController, BufferAttributeController
All Known Subinterfaces:
BufferAttributeControllerAscendingKeyKeyChunkAdd, BufferAttributeControllerAscendingSequenceNumberKeyChunkAdd
All Known Implementing Classes:
BufferAscendingKeyKeyChunkAddDoubleKeyedRemoveImpl, BufferKeyChunkAddKeyedRemoveImpl

public interface BufferAttributeControllerKeyChunkAdd
extends BufferAttributeController

Attribute controller interface used by buffers that use a key (which is a chunk of the message) to sort messages.


Method Summary
 String getKeyChunkName()
          Returns the name of the chunk that is used as a key.
 void setKeyChunkName(String keyChunkName)
          Sets the name of the chunk that is used as a key.
 
Methods inherited from interface org.objectweb.dream.queue.BufferAttributeController
getCurrentSize, getMaxCapacity, setMaxCapacity
 

Method Detail

setKeyChunkName

void setKeyChunkName(String keyChunkName)
Sets the name of the chunk that is used as a key.

Parameters:
keyChunkName - the name of the chunk.

getKeyChunkName

String getKeyChunkName()
Returns the name of the chunk that is used as a key.

Returns:
the name of the chunk that is used as a key.


Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.