equal
deleted
inserted
replaced
83 |
83 |
84 /** |
84 /** |
85 * Returns true if the error code is UNAVAILABLE or INTERRUPTED, the |
85 * Returns true if the error code is UNAVAILABLE or INTERRUPTED, the |
86 * error codes to indicate that an I/O operation can be retried. |
86 * error codes to indicate that an I/O operation can be retried. |
87 */ |
87 */ |
88 public static boolean okayToRetry(long n) { |
88 static boolean okayToRetry(long n) { |
89 return (n == IOStatus.UNAVAILABLE) || (n == IOStatus.INTERRUPTED); |
89 return (n == IOStatus.UNAVAILABLE) || (n == IOStatus.INTERRUPTED); |
90 } |
90 } |
91 |
91 |
92 } |
92 } |