Class IdentityArchiveServiceImpl.WriteQueue

java.lang.Object
org.kuali.rice.kim.service.impl.IdentityArchiveServiceImpl.WriteQueue
Enclosing class:
IdentityArchiveServiceImpl

protected static class IdentityArchiveServiceImpl.WriteQueue extends Object
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 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()