Class TimedWriter

java.lang.Object
org.jgroups.util.TimedWriter

public class TimedWriter extends Object
Waits until the buffer has been written to the output stream, or until timeout msecs have elapsed, whichever comes first. TODO: make it more generic, so all sorts of timed commands should be executable. Including return values, exceptions and Timeout exception. Also use ReusableThread instead of creating a new threa each time.
Author:
Bela Ban