Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Public Member Functions | Static Public Member Functions | List of all members
Lucene.Net.Distributed.Search.DistributedSearchable Class Reference

An derived implementation of RemoteSearchable, DistributedSearchable provides additional support for integration with .Net remoting objects and constructs. More...

Inherits RemoteSearchable.

Public Member Functions

 DistributedSearchable (Lucene.Net.Search.Searchable local)
 Standard constructor for DistributedSearchable
 
override object InitializeLifetimeService ()
 Override of the base LifetimeService policy for this object. This method manages the lifetime of objects marshaled and released in remoting environments and distributed garbage collection.
 
void Renew ()
 Method to extend the lifetime of a DistributedSearchable object.
 

Static Public Member Functions

static TimeSpan GetLeaseTimeSpan ()
 Retrieves the lifetime lease length composed as a TimeSpan object
 
static int GetInitialLeaseTime ()
 Returns the configured number of seconds for the lifetime length of this object
 

Detailed Description

An derived implementation of RemoteSearchable, DistributedSearchable provides additional support for integration with .Net remoting objects and constructs.

Definition at line 30 of file DistributedSearchable.cs.

Constructor & Destructor Documentation

Lucene.Net.Distributed.Search.DistributedSearchable.DistributedSearchable ( Lucene.Net.Search.Searchable  local)

Standard constructor for DistributedSearchable

Parameters
localAny derived Searchable object

Definition at line 41 of file DistributedSearchable.cs.

Member Function Documentation

static int Lucene.Net.Distributed.Search.DistributedSearchable.GetInitialLeaseTime ( )
static

Returns the configured number of seconds for the lifetime length of this object

Returns
int representing the configured number of seconds for the lifetime length of this object

Definition at line 94 of file DistributedSearchable.cs.

static TimeSpan Lucene.Net.Distributed.Search.DistributedSearchable.GetLeaseTimeSpan ( )
static

Retrieves the lifetime lease length composed as a TimeSpan object

Returns
TimeSpan representing the length of the lifetime lease for this object

Definition at line 85 of file DistributedSearchable.cs.

override object Lucene.Net.Distributed.Search.DistributedSearchable.InitializeLifetimeService ( )

Override of the base LifetimeService policy for this object. This method manages the lifetime of objects marshaled and released in remoting environments and distributed garbage collection.

Returns
Object of type ILease

Definition at line 53 of file DistributedSearchable.cs.

void Lucene.Net.Distributed.Search.DistributedSearchable.Renew ( )

Method to extend the lifetime of a DistributedSearchable object.

Definition at line 75 of file DistributedSearchable.cs.


The documentation for this class was generated from the following file: