- Added javadoc skeletons for a few methods.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150821 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2002-09-15 00:09:23 +00:00
parent 3e11600e4e
commit 302f6949ab
1 changed files with 10 additions and 3 deletions

View File

@ -68,7 +68,6 @@ import java.util.Collection;
*/
public class StoragePipeline implements DocumentStorage, LinkStorage
{
private boolean isOpen;
private boolean isLinkStorageOpen;
private ArrayList docStorages;
@ -86,7 +85,6 @@ public class StoragePipeline implements DocumentStorage, LinkStorage
linkStorages = new ArrayList();
}
/**
* open all docStorages
*/
@ -101,7 +99,6 @@ public class StoragePipeline implements DocumentStorage, LinkStorage
isOpen = true;
}
/**
* store the doc into all docStorages
* document is discarded if a storage.store() returns null
@ -152,6 +149,10 @@ public class StoragePipeline implements DocumentStorage, LinkStorage
linkStorages.add(storage);
}
/**
* Describe <code>openLinkStorage</code> method here.
*
*/
public void openLinkStorage()
{
for (Iterator it = linkStorages.iterator(); it.hasNext(); )
@ -161,6 +162,12 @@ public class StoragePipeline implements DocumentStorage, LinkStorage
isLinkStorageOpen = true;
}
/**
* Describe <code>storeLinks</code> method here.
*
* @param c a <code>Collection</code> value
* @return a <code>Collection</code> value
*/
public Collection storeLinks(Collection c)
{
for(Iterator it = linkStorages.iterator(); it.hasNext();)