|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
A front-end to the indexing service provided by Indexer. Used by Database class on startup.
Field Summary | |
---|---|
int | fileExpire |
int | MAX_FILE_FEATURES |
int |
MIN_METAKEYS_OVER_FILE
Minimum number of metadata keys required for the filename to be disregarded for indexing |
Naanou.Common.Search.ContentSource | us |
Constructor Summary | |
---|---|
KeyStorer() Initializes a new instance of the KeyStorer class. |
Method Summary | |
---|---|
void | Init() |
int |
Publish(Naanou.ResourceExchange.Entry ent) Publishes a entry |
void |
Publish(Naanou.Common.Hash hash, Naanou.Common.Search.IKey data, long expireIn) Publishes a key value pair |
void |
Revoke(string keySerial) Revokes a key |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Field Detail |
---|
private int fileExpire
private int MAX_FILE_FEATURES
private int MIN_METAKEYS_OVER_FILE
Minimum number of metadata keys required for the filename to be disregarded for indexing
private Naanou.Common.Search.ContentSource us
Constructor Detail |
---|
public KeyStorer()
Initializes a new instance of the KeyStorer class.
Method Detail |
---|
public void Init()
public int Publish(Naanou.ResourceExchange.Entry ent)
Publishes a entry
Parameters:
entry
- Entry to publishprivate void Publish(Naanou.Common.Hash hash, Naanou.Common.Search.IKey data, long expireIn)
Publishes a key value pair
Parameters:
hash
- Key for datadata
- Data to storeexpireIn
- Expiry time (minutes)public void Revoke(string keySerial)
Revokes a key
Parameters:
keySerial
-
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |