package cse308.swift.server.thread; public interface SwiftRunnable extends Runnable{ /** * Attempts to exit this runnable gracefully * @return The success of wither this Runnable was be exited gracefully */ public boolean gracefulExit(); /** * Attempts to interrupt this runnable gracefully * @return The success of wither this Runnable was interrupted gracefully */ public boolean gracefulInterrupt(); }