mirror of https://github.com/apache/druid.git
fix interrupted thread
This commit is contained in:
parent
0bacb85a4a
commit
9032ef521b
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue