Package org.apache.uima.cas.impl
Class FSsTobeAddedback
java.lang.Object
org.apache.uima.cas.impl.FSsTobeAddedback
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
FSsTobeAddedback.FSsTobeAddedbackMultiple
,FSsTobeAddedback.FSsTobeAddedbackSingle
Record information on what was removed, from which view, and (optionally) how many times.
4 varieties:
1) for a single FS
a) without count
b) with count
2) for multiple FSs
a) without count
b) with count
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
(package private) static class
(package private) static class
(package private) static class
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final AtomicInteger
(package private) static final boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
addback()
(package private) void
addback
(int fsAddr) (package private) abstract void
clear()
void
close()
does an add back if neededstatic FSsTobeAddedback
createMultiple
(CASImpl cas) static FSsTobeAddedback
protected void
log
(int fsAddr, FSIndexRepositoryImpl view) protected void
log
(int fsAddr, FSIndexRepositoryImpl view, int count) protected void
log
(FSIndexRepositoryImpl view) protected void
log
(FSIndexRepositoryImpl view, int count) private void
logPart
(int fsAddr, FSIndexRepositoryImpl view) protected void
logPart
(FSIndexRepository view) (package private) void
recordRemove
(int fsAddr, FSIndexRepositoryImpl view) (package private) void
recordRemove
(int fsAddr, FSIndexRepositoryImpl view, int count) (package private) void
(package private) void
recordRemove
(FSIndexRepositoryImpl view, int count)
-
Field Details
-
SHOW
static final boolean SHOW- See Also:
-
removes
-
-
Constructor Details
-
FSsTobeAddedback
FSsTobeAddedback()
-
-
Method Details
-
close
public void close()does an add back if needed- Specified by:
close
in interfaceAutoCloseable
-
logPart
-
log
-
logPart
-
log
-
log
-
log
-
recordRemove
-
recordRemove
-
recordRemove
-
recordRemove
-
addback
void addback() -
addback
void addback(int fsAddr) -
clear
abstract void clear() -
createSingle
- Returns:
- an impl of this class
-
createMultiple
-