org.kuali.rice.kim.service.impl
Class IdentityArchiveServiceImpl.EntityArchiveWriter

java.lang.Object
  extended by org.kuali.rice.kim.service.impl.IdentityArchiveServiceImpl.EntityArchiveWriter
All Implemented Interfaces:
Callable
Enclosing class:
IdentityArchiveServiceImpl

private class IdentityArchiveServiceImpl.EntityArchiveWriter
extends Object
implements Callable

store the person to the database, but do this an alternate thread to prevent transaction issues since this service is non-transactional

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
(package private)  AtomicBoolean currentlySubmitted
           
private  Comparator<EntityDefault> kediComparator
          Comparator that attempts to impose a total ordering on EntityDefault instances
private  Comparator<Comparable> nullSafeComparator
           
 
Constructor Summary
private IdentityArchiveServiceImpl.EntityArchiveWriter()
           
 
Method Summary
 Object call()
          Call that tries to flush the write queue.
 boolean requestSubmit()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentlySubmitted

AtomicBoolean currentlySubmitted

nullSafeComparator

private final Comparator<Comparable> nullSafeComparator

kediComparator

private final Comparator<EntityDefault> kediComparator
Comparator that attempts to impose a total ordering on EntityDefault instances

Constructor Detail

IdentityArchiveServiceImpl.EntityArchiveWriter

private IdentityArchiveServiceImpl.EntityArchiveWriter()
Method Detail

requestSubmit

public boolean requestSubmit()

call

public Object call()
Call that tries to flush the write queue.

Specified by:
call in interface Callable
See Also:
Callable.call()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.