public abstract class ArrayListAttachmentStrategy<T,C> extends Object implements QDAgent.AttachmentStrategy<Object>
Constructor and Description |
---|
ArrayListAttachmentStrategy() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
decrementAndNotEmpty(T attachment) |
protected boolean |
incrementCombines(T attachment) |
protected abstract void |
process(RecordCursor cursor,
T attachment,
C ctx) |
void |
processEach(RecordCursor cursor,
C ctx) |
Object |
updateAttachment(Object oldAttachment,
RecordCursor cursor,
boolean remove) |
public Object updateAttachment(Object oldAttachment, RecordCursor cursor, boolean remove)
updateAttachment
in interface QDAgent.AttachmentStrategy<Object>
public void processEach(RecordCursor cursor, C ctx)
protected boolean incrementCombines(T attachment)
protected boolean decrementAndNotEmpty(T attachment)
protected abstract void process(RecordCursor cursor, T attachment, C ctx)
Copyright © 2002-2019 Devexperts LLC. All Rights Reserved.