1 package net.sf.josceleton.core.api.async;
2
3 /**
4 * Compared to <code>java.io.Closeable</code> this interface does not declare a checked exception to be thrown.
5 *
6 * Onca a <code>Closeable</code> has been closed, any further method calls will respond with an
7 * <code>IllegalStateException</code>.
8 *
9 * @since 0.1
10 */
11 public interface Closeable {
12
13 /**
14 * It is most likely you will get an <code>IllegalStateException</code> if called more than once.
15 *
16 * @since 0.1
17 */
18 void close();
19
20 }