-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(new) VertxInputStream #61
base: master
Are you sure you want to change the base?
Conversation
*/ | ||
public void end() { | ||
|
||
System.out.println("ended"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
readStream.pause(); | ||
} else { | ||
if (streamSemaphore.availablePermits() > 1) { | ||
throw new RuntimeException("p=" + streamSemaphore.availablePermits()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*/ | ||
public class VertxInputStream extends InputStream { | ||
|
||
private static final Logger LOG = LoggerFactory.getLogger(VertxInputStream.class); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*/ | ||
public void populate(final Buffer buffer) { | ||
|
||
System.out.println("populating..." + currentBuffer != null); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.