|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.imemex.componentmappings.AbstractComponentReplicaWrapper<T>
public abstract class AbstractComponentReplicaWrapper<T>
| Constructor Summary | |
|---|---|
AbstractComponentReplicaWrapper(ComponentMapping<T> mapping)
|
|
| Method Summary | |
|---|---|
void |
clear()
Remove all (drop) index views. |
void |
close()
Close this index. |
void |
flush()
Flushe memory-resident index structures to disk in order to allow querying to take place after indexing. |
int |
getBufferSize()
Get the number of elements which are buffered before being stored persistently by the index. |
void |
rebuild(boolean online)
Rebuild and optimze this index. |
void |
remove(long oid)
Remove the index view for given OID. |
void |
removeAll(PullOperator<java.lang.Long> oids)
Remove the index views with given OIDs. |
long |
size()
Return the number of entries in this index. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.imemex.componentmappings.Replica |
|---|
entries, getEntry |
| Methods inherited from interface org.imemex.componentmappings.MappingSet |
|---|
getComponentsAvailableFlags, insert, insertAll |
| Constructor Detail |
|---|
public AbstractComponentReplicaWrapper(ComponentMapping<T> mapping)
| Method Detail |
|---|
public final void remove(long oid)
MappingSet
remove in interface MappingSetoid - globally unique key used to identify a resource view in
iMeMex.public final void removeAll(PullOperator<java.lang.Long> oids)
MappingSet
removeAll in interface MappingSetoids - pull operator of OIDs of index views which should be removed.
This method ignores OIDs that were not found in the index.public final long size()
MappingSet
size in interface MappingSetpublic final void clear()
MappingSet
clear in interface MappingSetpublic final void close()
MappingSet
close in interface MappingSet
public final void rebuild(boolean online)
throws OnlineRebuildNotSupportedException
MappingSet
rebuild in interface MappingSetonline - if true allows concurrent modifications to this
ComponentMapping while rebuilding. If false this index is
locked and no modifications are allowed during the rebuild.
OnlineRebuildNotSupportedExceptionpublic final void flush()
MappingSet
flush in interface MappingSetpublic final int getBufferSize()
MappingSet
getBufferSize in interface MappingSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||