org.compass.core.lucene.engine.indexdeletionpolicy
Interface DirectoryConfigurable

All Known Implementing Classes:
ExpirationTimeDeletionPolicy

public interface DirectoryConfigurable

IndexDeletionPolicy that implement this interface will be injected with a Directory implementation to be used.

The directory will be injected just after construction and before any of IndexDeletionPolicy methods will be called.

Author:
kimchy

Method Summary
 void setDirectory(Directory directory)
          IndexDeletionPolicy that implement this interface will be injected with a Directory implementation to be used.
 

Method Detail

setDirectory

void setDirectory(Directory directory)
IndexDeletionPolicy that implement this interface will be injected with a Directory implementation to be used.

The directory will be injected just after construction and before any of IndexDeletionPolicy methods will be called.



Copyright (c) 2004-2009 The Compass Project.