public class SearchCache extends Object
Holds the details of the active searches for the NFS server
Modifier and Type | Class and Description |
---|---|
protected class |
SearchCache.SearchEntry
Search Entry Class
|
protected class |
SearchCache.SearchExpiry
Search Expiry Thread Class
|
Modifier and Type | Field and Description |
---|---|
static long |
DefaultSearchTimeout |
static int |
MaximumSearches |
Constructor and Description |
---|
SearchCache()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
int |
allocateSearchId(SearchContext search)
Allocate a search slot
|
void |
dumpSearches()
Dump the active search list
|
SearchContext |
getSearch(int id)
Return the required search context
|
boolean |
hasDebug()
Determine if debug output is enabled
|
void |
releaseSearchId(int id)
Release a search slot
|
public static final int MaximumSearches
public static final long DefaultSearchTimeout
public final boolean hasDebug()
public final int allocateSearchId(SearchContext search)
search
- SearchContextpublic final void releaseSearchId(int id)
id
- intpublic final SearchContext getSearch(int id)
id
- intpublic final void dumpSearches()
Copyright © 2005–2018 Alfresco Software. All rights reserved.