fix interrupted thread

This commit is contained in:
xvrl 2013-01-18 10:18:16 -08:00
parent 0bacb85a4a
commit 9032ef521b
1 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,7 @@ public class MemcachedCacheBroker implements CacheBroker
return null; return null;
} }
catch(InterruptedException e) { catch(InterruptedException e) {
Thread.currentThread().interrupt();
throw Throwables.propagate(e); throw Throwables.propagate(e);
} }
catch(ExecutionException e) { catch(ExecutionException e) {
@ -175,6 +176,7 @@ public class MemcachedCacheBroker implements CacheBroker
return results; return results;
} }
catch(InterruptedException e) { catch(InterruptedException e) {
Thread.currentThread().interrupt();
throw Throwables.propagate(e); throw Throwables.propagate(e);
} }
catch(ExecutionException e) { catch(ExecutionException e) {