Class Overview
Class that tries to wait for any "Crowd Embedded" synchronisations to finish. This class is *not* thread safe, only
one thread may await on this class.
NOTE: This is a complete hack. It does not work in all cases. It would be better if we could tell "Crowd Embedded"
to shutdownAndWait be we can't currently so this is here to catch a majority of cases where this is a problem.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
DirectorySynchroniserBarrier
(ApplicationFactory applicationFactory, CrowdDirectoryService crowdDirectoryService, EventPublisher publisher)
Public Methods
public
boolean
await
(long timeout, TimeUnit unit)
@EventListener
public
void
onDirectoryFinished
(RemoteDirectorySynchronisedEvent finished)