@Override public synchronized void reset() throws IOException { super.reset(); availableBytes = UNSET; }
@Override public void reset() throws IOException { resetCount++; super.reset(); position = marked; }
@Override public void reset() throws IOException { idx = 0; super.reset(); }
public synchronized void reset() throws IOException { super.reset(); md.reset(); } }
@Override public synchronized void reset() throws IOException { super.reset(); pos.set(0); }
@Override public void reset() throws IOException { try { super.reset(); } catch (final IOException ioe) { throw new FlowFileAccessException("Could not reset stream from " + flowFile, ioe); } }
@Override public synchronized void reset() throws IOException { super.reset(); this.prevCount = this.meter.getBytesProcessedMeter().getCount(); }
/** * Skips bytes from the input stream until it finds the <project> * element. * * @throws IOException thrown if an I/O error occurs */ private void skipToProject() throws IOException { final byte[] buffer = new byte[BUFFER_SIZE]; super.mark(BUFFER_SIZE); int count = super.read(buffer, 0, BUFFER_SIZE); while (count > 0) { final int pos = findSequence(PROJECT, buffer); if (pos >= 0) { super.reset(); super.skip(pos); return; } else if (count - PROJECT.length == 0) { return; } super.reset(); super.skip(count - PROJECT.length); super.mark(BUFFER_SIZE); count = super.read(buffer, 0, BUFFER_SIZE); } }
@Override public void reset() throws IOException { resetCount++; super.reset(); position = marked; }
@Override public void reset() throws IOException { super.reset();// This either succeeds or throws IOException bytesLeft += markLimit; }
@Override public void reset() throws IOException { super.reset(); availableBytes = UNSET; }
@Override public void reset() throws IOException { if (markPos == -1) { throw new IOException("Not marked!"); } super.reset(); curPos = markPos; markPos = -1; }
public @Override void reset() throws IOException { openStream(); super.reset(); }
/** * {@inheritDoc} */ @Override public synchronized void reset() throws IOException { super.reset(); synchronized (this) { this.readCount = this.markPos; } }
@Override public void reset() throws IOException { super.reset();// This either succeeds or throws IOException bytesLeft += markLimit; }
@Override public synchronized void reset() throws IOException { super.reset(); pos = markPos; }
@Override public synchronized void reset() throws IOException { super.reset(); System.arraycopy(markBuffer, 0, buffer, 0, buffer.length); rpos = markpos; boundarySeen = markBoundarySeen; }
/** {@inheritDoc} */ @Override public synchronized void reset() throws IOException { checkCloseInvoked("reset"); super.reset(); }
@Override public void reset() throws IOException { super.reset(); onReset(); unnotifiedByteCount = 0; notifiedByteCount = 0; }