protected static class IdentityArchiveServiceImpl.WriteQueue extends Object
ConcurrentLinkedQueue
and an AtomicInteger
to
provide fast offer(enqueue)/poll(dequeue) and size checking. Size may be approximate due to concurrent
activity, but for our purposes that is fine.Modifier | Constructor and Description |
---|---|
protected |
WriteQueue() |
Modifier and Type | Method and Description |
---|---|
int |
offerAndGetSize(EntityDefault entity) |
protected EntityDefault |
poll() |
protected WriteQueue()
public int offerAndGetSize(EntityDefault entity)
protected EntityDefault poll()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.