Package org.firebirdsql.gds.ng.monitor
Interface Operation
-
public interface OperationAn operation of the driver.In current implementations, this represents either a statement execution or a fetch.
Note: This is an experimental feature. The implementation or API may be removed or changed at any time.
- Since:
- 4.0
- Author:
- Vasiliy Yashkov, Mark Rotteveel
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOperation.TypeType of operation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancel()Cancel this operation.Operation.TypegetType()
-
-
-
Method Detail
-
getType
Operation.Type getType()
- Returns:
- The type of operation.
-
cancel
void cancel() throws java.sql.SQLExceptionCancel this operation.- Throws:
java.sql.SQLException- If the cancellation failed or if this operation is no longer cancellable.
-
-