messif.buckets
Interface BucketFilterBeforeAdd

All Superinterfaces:
BucketFilter

public interface BucketFilterBeforeAdd
extends BucketFilter

Implements a filter used before an object is inserted into a bucket.


Method Summary
 void filterBeforeAdd(LocalAbstractObject object, LocalBucket bucket)
          Filter object before its insertion into a bucket.
 

Method Detail

filterBeforeAdd

void filterBeforeAdd(LocalAbstractObject object,
                     LocalBucket bucket)
                     throws FilterRejectException
Filter object before its insertion into a bucket.

Parameters:
object - the inserted object
bucket - bucket, where the object will be stored
Throws:
FilterRejectException - if the object insertion is aborted