Package org.kuali.rice.kim.service.impl
Class IdentityArchiveServiceImpl.WriteQueue
java.lang.Object
org.kuali.rice.kim.service.impl.IdentityArchiveServiceImpl.WriteQueue
- Enclosing class:
- IdentityArchiveServiceImpl
A class encapsulating a
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.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintofferAndGetSize(org.kuali.rice.kim.api.identity.entity.EntityDefault entity) protected org.kuali.rice.kim.api.identity.entity.EntityDefaultpoll()
-
Constructor Details
-
WriteQueue
protected WriteQueue()
-
-
Method Details
-
offerAndGetSize
public int offerAndGetSize(org.kuali.rice.kim.api.identity.entity.EntityDefault entity) -
poll
protected org.kuali.rice.kim.api.identity.entity.EntityDefault poll()
-