|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.imemex.componentmappings.content.fsreplica.AbstractContentComponentReplica
public abstract class AbstractContentComponentReplica
Provides a generic implementation of some of the ComponentReplica
interface methods. These implementations use the other methods in the
interface itself.
| Constructor Summary | |
|---|---|
AbstractContentComponentReplica()
|
|
| Method Summary | |
|---|---|
void |
clear()
Clears all entries from this replica. |
int |
getBufferSize()
Get the number of elements which are buffered before being stored persistently by the index |
boolean |
insertAll(PullOperator<Mapping<Content>> entries)
Inserts all entries of the given PullOperator into this ComponentMap. |
boolean |
isEmpty()
Returns true if this instance does not contain any entries. |
void |
removeAll(PullOperator<java.lang.Long> internalRVIDs)
Removes the given entries for resource view internalRVID. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.imemex.componentmappings.impl.ComponentReplica |
|---|
entries, getEntry |
| Methods inherited from interface org.imemex.componentmappings.impl.ComponentMapping |
|---|
close, flushMapping, insert, rebuildMapping, remove, size |
| Constructor Detail |
|---|
public AbstractContentComponentReplica()
| Method Detail |
|---|
public int getBufferSize()
ComponentMapping
getBufferSize in interface ComponentMapping<Content>public boolean insertAll(PullOperator<Mapping<Content>> entries)
ComponentMappingnewEntry instances. This is very important for ComponentReplicas.
insertAll in interface ComponentMapping<Content>entries - - is a PullOperator with Map.Entry instances.
Map.Entrypublic boolean isEmpty()
ComponentMapping
isEmpty in interface ComponentMapping<Content>public void removeAll(PullOperator<java.lang.Long> internalRVIDs)
ComponentMappinginternalRVID.
removeAll in interface ComponentMapping<Content>internalRVIDs - - a PullOperator of Long instances representing internalRVIDspublic void clear()
clear in interface ComponentMapping<Content>ComponentMapping.clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||