| java.lang.Object org.tigris.scarab.util.word.IssueSearchFactory
IssueSearchFactory | public class IssueSearchFactory (Code) | | Creates new IssueSearch objects and acts as a regulator on the number
of concurrent searches.
author: John McNally since: 0.16.25 version: $Id: IssueSearchFactory.java 10378 2006-12-10 23:34:12Z dabbous $ |
IssueSearchFactory | IssueSearchFactory()(Code) | | |
getMaxInstances | int getMaxInstances()(Code) | | Maximum number of concurrent searches. Given by the
scarab.concurrent.search.max property. if not given
or value is negative, unlimited concurrent searches are
allowed (will then be limited by db connections). A
value of 0 will disable searching.
Implementation note: this method is package-private to
facilitate testing.
|
getMaxWait | int getMaxWait()(Code) | | How long to wait (in seconds) for a search object if one is not
immediately available. Given by the
scarab.concurrent.search.wait property. if not given
or value is negative, we block till an IssueSearch can be created.
A value of 0 will fail immediately.
Implementation note: this method is package-private to
facilitate testing.
|
notifyDone | public void notifyDone()(Code) | | |
|
|