|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReferenceCounting
Reference counting and caching for read only index access. When this object is invalid for reuse and all referees have gone the implementation should release all resources held (release the caches, close the index readers etc)
Method Summary | |
---|---|
long |
getCreationTime()
|
java.lang.String |
getId()
Get the id for this reader. |
int |
getReferenceCount()
Get the number of references |
java.util.List |
getReferences()
|
boolean |
isInvalidForReuse()
Determine if valid for reuse |
void |
setInvalidForReuse()
Mark is invalid for reuse. |
Method Detail |
---|
long getCreationTime()
java.util.List getReferences()
int getReferenceCount()
void setInvalidForReuse() throws java.io.IOException
java.io.IOException
boolean isInvalidForReuse()
java.lang.String getId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |