@Override public void close() throws IOException { openSinks.remove(sink); super.close(); } };
@Override public void close() throws IOException { synchronized (Cache.this) { if (done) { return; } done = true; writeSuccessCount++; } super.close(); editor.commit(); } };
@Override public void close() throws IOException { if (hasErrors) return; try { super.close(); } catch (IOException e) { hasErrors = true; onException(e); } }
@Override public void close() throws IOException { if (hasErrors) return; try { super.close(); } catch (IOException e) { hasErrors = true; onException(e); } }
@Override public void close() throws IOException { synchronized (Cache.this) { if (done) { return; } done = true; writeSuccessCount++; } super.close(); editor.commit(); } };
@Override public void close() throws IOException { if (failed) return; try { super.close(); } catch (Exception e) { failed = true; onException(e); } }
@Override public void close() throws IOException { super.close(); }
@Override public void close() throws IOException { openSinks.remove(sink); super.close(); } };
@Override public void close() throws IOException { openSinks.remove(sink); super.close(); } };
@Override public void close() throws IOException { if (hasErrors) return; try { super.close(); } catch (IOException e) { hasErrors = true; onException(e); } }
@Override public void close() throws IOException { if (hasErrors) return; try { super.close(); } catch (IOException e) { hasErrors = true; onException(e); } }
@Override public void close() throws IOException { synchronized (Cache.this) { if (done) { return; } done = true; writeSuccessCount++; } super.close(); editor.commit(); } };
@Override public void close() throws IOException { synchronized (Cache.this) { if (done) { return; } done = true; writeSuccessCount++; } super.close(); editor.commit(); } };
@Override public void close() throws IOException { synchronized (Cache.this) { if (done) { return; } done = true; writeSuccessCount++; } super.close(); editor.commit(); } };
@Override public void close() throws IOException { synchronized (Cache.this) { if (done) { return; } done = true; writeSuccessCount++; } super.close(); editor.commit(); } };
@Override public void close() throws IOException { if (hasErrors) return; try { super.close(); } catch (IOException e) { hasErrors = true; onException(e); } }
@Override public void close() throws IOException { if (hasErrors) return; try { super.close(); } catch (IOException e) { hasErrors = true; onException(e); } }
@Override public void close() throws IOException { if (hasErrors) return; try { super.close(); } catch (IOException e) { hasErrors = true; onException(e); } }
@Override public void close() throws IOException { synchronized (Cache.this) { if (done) { return; } done = true; writeSuccessCount++; } super.close(); editor.commit(); } };