Examples of abort()


Examples of net.jini.core.transaction.server.TransactionParticipant.abort()

  //      NoSuchObjectException (activation problem)
        Object response = null;
        try {
            par.abort(tr.mgr, tr.id);
            response = new Integer(ABORTED);
        } catch (TransactionException bte) {
            //The participant doesn't have record of the
            //transaction, so it must have already rolled
            //back.
View Full Code Here

Examples of net.jini.jeri.InboundRequest.abort()

            requestDispatcher.dispatch(request);
            return null;
        }
          }), securityContext.getAccessControlContext());
        } finally {
      request.abort();
        }
    }
      }, "mux request dispatch");
  } catch (OutOfMemoryError e) {  // assume out of threads
      try {
View Full Code Here

Examples of net.jini.jeri.OutboundRequest.abort()

    return request.getResponseInputStream();
      }
      public boolean getDeliveryStatus() {
    return request.getDeliveryStatus();
      }
      public void abort() { request.abort(); }
  };
    }


    /**
 
View Full Code Here

Examples of net.sourceforge.processdash.util.RobustFileOutputStream.abort()

                zipOut.closeEntry();
            }
            zipOut.finish();
            zipOut.flush();
        } catch (IOException ioe) {
            rOut.abort();
            throw ioe;
        }

        out.close();
        return true;
View Full Code Here

Examples of net.sourceforge.processdash.util.RobustFileWriter.abort()

            }

        } catch (IOException e) {
            logger.log(Level.SEVERE, "Encountered exception while writing to "
                    + datafile.file.getPath() + "; save aborted", e);
            try { rfw.abort(); } catch (Exception ex) {}
            return;
        }

        try {
            // Close output file
View Full Code Here

Examples of org.apache.cassandra.io.sstable.SSTableRewriter.abort()

            // don't replace old sstables yet, as we need to mark the compaction finished in the system table
            writer.finish(false);
        }
        catch (Throwable t)
        {
            writer.abort();
            throw t;
        }
        finally
        {
            controller.close();
View Full Code Here

Examples of org.apache.cassandra.io.sstable.SSTableWriter.abort()

            }
        }
        catch (Throwable t)
        {
            for (SSTableWriter writer : writers)
                writer.abort();
            throw Throwables.propagate(t);
        }
        finally
        {
            try
View Full Code Here

Examples of org.apache.cassandra.io.sstable.format.SSTableWriter.abort()

                    logger.info(String.format("Completed flushing %s (%d bytes) for commitlog position %s",
                                              ssTable.getFilename(), new File(ssTable.getFilename()).length(), context));
                }
                else
                {
                    writer.abort();
                    ssTable = null;
                    logger.info("Completed flushing; nothing needed to be retained.  Commitlog position was {}",
                                context);
                }
View Full Code Here

Examples of org.apache.commons.httpclient.HttpMethod.abort()

            request.handleError(server);
        } finally {
            // release the connection.
            if (get != null) {
                get.releaseConnection();
                get.abort();
            }
        }
    }

    /** Returns the number of servers in this. */
 
View Full Code Here

Examples of org.apache.commons.httpclient.HttpMethodBase.abort()

  public void abortRequest( SubmitContext submitContext )
  {
    HttpMethodBase postMethod = ( HttpMethodBase )submitContext.getProperty( HTTP_METHOD );
    if( postMethod != null )
      postMethod.abort();
  }

  public Response sendRequest( SubmitContext submitContext, Request request ) throws Exception
  {
    AbstractHttpRequestInterface<?> httpRequest = ( AbstractHttpRequestInterface<?> )request;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.