Node Director
|
implements a cache/handler for search results More...
Public Member Functions | |
FrontendSearchResults (Enumeration results, boolean randomAccess) | |
FrontendSearchResults (Enumeration results, boolean randomAccess, String fulltextFilter, String fulltextAttrs[]) | |
String | getId () |
void | dispose () |
flush this object | |
void | finalize () |
synchronized DBObject | get (int i) throws DirectorException |
synchronized Vector | getRange (int from, int to) throws DirectorException |
int | fillCache () throws DirectorException |
int | size () throws DirectorException |
void | reorder (String field, boolean ascending) throws DirectorException |
int | getPosition () |
synchronized DBObject | getNext () throws DirectorException |
void | setTimeout (long timeout) |
Public Member Functions inherited from sfi.director.application.FrontendDisposableAdapter | |
boolean | hasTimedOut () |
returns true if object is to be disposed | |
long | getTimeout () |
void | accessed () |
reset timeout period |
Static Public Member Functions | |
static FrontendSearchResults | getSearch (String id) |
static Enumeration | getSearchIds () |
implements a cache/handler for search results
sfi.director.application.FrontendSearchResults.FrontendSearchResults | ( | Enumeration | results, |
boolean | randomAccess | ||
) |
sfi.director.application.FrontendSearchResults.FrontendSearchResults | ( | Enumeration | results, |
boolean | randomAccess, | ||
String | fulltextFilter, | ||
String | fulltextAttrs[] | ||
) |
void sfi.director.application.FrontendSearchResults.dispose | ( | ) |
flush this object
Reimplemented from sfi.director.application.FrontendDisposableAdapter.
Referenced by sfi.director.application.FrontendSearchResults.finalize().
int sfi.director.application.FrontendSearchResults.fillCache | ( | ) | throws DirectorException |
Referenced by sfi.director.application.FrontendSearchResults.reorder(), and sfi.director.application.FrontendSearchResults.size().
void sfi.director.application.FrontendSearchResults.finalize | ( | ) |
synchronized DBObject sfi.director.application.FrontendSearchResults.get | ( | int | i | ) | throws DirectorException |
String sfi.director.application.FrontendSearchResults.getId | ( | ) |
synchronized DBObject sfi.director.application.FrontendSearchResults.getNext | ( | ) | throws DirectorException |
int sfi.director.application.FrontendSearchResults.getPosition | ( | ) |
Referenced by sfi.director.application.FrontendHTTPServer.db_searchget().
synchronized Vector sfi.director.application.FrontendSearchResults.getRange | ( | int | from, |
int | to | ||
) | throws DirectorException |
References sfi.director.application.FrontendDisposableAdapter.accessed().
Referenced by sfi.director.application.FrontendHTTPServer.db_searchget().
|
static |
References sfi.director.application.FrontendDisposableAdapter.accessed().
Referenced by sfi.director.application.FrontendHTTPServer.db_searchdispose(), sfi.director.application.FrontendHTTPServer.db_searchget(), sfi.director.application.FrontendHTTPServer.db_searchnoop(), sfi.director.application.FrontendHTTPServer.db_searchsize(), and sfi.director.application.FrontendInterface.executeCommand().
|
static |
Referenced by sfi.director.application.FrontendInterface.executeCommand().
void sfi.director.application.FrontendSearchResults.reorder | ( | String | field, |
boolean | ascending | ||
) | throws DirectorException |
void sfi.director.application.FrontendSearchResults.setTimeout | ( | long | timeout | ) |
int sfi.director.application.FrontendSearchResults.size | ( | ) | throws DirectorException |