Invitation API and two (untested) implementations.

This commit is contained in:
akwizgran
2011-10-27 17:52:03 +01:00
parent 59485fe392
commit 48d638746c
26 changed files with 834 additions and 251 deletions

View File

@@ -219,7 +219,10 @@ abstract class StreamConnection implements DatabaseListener {
while(writerFlags == 0) {
try {
wait();
} catch(InterruptedException ignored) {}
} catch(InterruptedException e) {
if(LOG.isLoggable(Level.WARNING))
LOG.warning(e.getMessage());
}
}
flags = writerFlags;
writerFlags = 0;
@@ -256,7 +259,10 @@ abstract class StreamConnection implements DatabaseListener {
while(writerFlags == 0) {
try {
wait();
} catch(InterruptedException ignored) {}
} catch(InterruptedException e) {
if(LOG.isLoggable(Level.WARNING))
LOG.warning(e.getMessage());
}
}
flags = writerFlags;
writerFlags = 0;