method shutdown of algorithm SubmitQuery implemeted in order to allow a user to cancel a submit query operation
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@99190 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d74564df6d
commit
bdf8449fd0
|
@ -263,7 +263,12 @@ public class SubmitQuery extends StandardLocalExternalAlgorithm {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void shutdown() {
|
public void shutdown() {
|
||||||
|
|
||||||
AnalysisLogger.getLogger().debug("In SubmitQuery->Shutdown");
|
AnalysisLogger.getLogger().debug("In SubmitQuery->Shutdown");
|
||||||
|
|
||||||
|
if (sf.isClosed() == false) {
|
||||||
|
mgt.closeConnection();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Method that recovers the info useful for the connection
|
// Method that recovers the info useful for the connection
|
||||||
|
|
Loading…
Reference in New Issue