Mercurial Hosting > luan
comparison src/org/eclipse/jetty/io/AsyncEndPoint.java @ 956:1094975d013b
remove setCheckForIdle()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 13 Oct 2016 18:11:01 -0600 |
parents | 669769bcdf5c |
children | 0d20943cfea2 |
comparison
equal
deleted
inserted
replaced
955:6f49b8dfffe6 | 956:1094975d013b |
---|---|
27 * | 27 * |
28 */ | 28 */ |
29 public void dispatch(); | 29 public void dispatch(); |
30 | 30 |
31 /* ------------------------------------------------------------ */ | 31 /* ------------------------------------------------------------ */ |
32 /** Callback when idle. | |
33 * <p>An endpoint is idle if there has been no IO activity for | |
34 * {@link #getMaxIdleTime()} and {@link #isCheckForIdle()} is true. | |
35 * @param idleForMs TODO | |
36 */ | |
37 // public void onIdleExpired(long idleForMs); | |
38 | |
39 /* ------------------------------------------------------------ */ | |
40 /** Set if the endpoint should be checked for idleness | |
41 */ | |
42 public void setCheckForIdle(boolean check); | |
43 | |
44 /* ------------------------------------------------------------ */ | |
45 /** | 32 /** |
46 * @return True if IO has been successfully performed since the last call to {@link #hasProgressed()} | 33 * @return True if IO has been successfully performed since the last call to {@link #hasProgressed()} |
47 */ | 34 */ |
48 public boolean hasProgressed(); | 35 public boolean hasProgressed(); |
49 } | 36 } |