Examples of incrementCounter()


Examples of aimax.osm.data.MapBuilderProxy.incrementCounter()

        proxy = new MapBuilderProxy(builder);
      parseMap(createFileStream(file), proxy);
      if (proxy.nodeRefsWithoutDefsAdded()) {
        if (boundingBox != null || attFilter != null) {
          LOG.info("Starting to parse the map file a second time.");
          proxy.incrementCounter();
          parseMap(createFileStream(file), proxy);
        } else {
          LOG
              .warning("Nodes were referenced in ways but not defined before.");
        }
View Full Code Here

Examples of br.gov.frameworkdemoiselle.internal.implementation.TransactionInfo.incrementCounter()

      transaction.begin();
      transactionInfo.markAsOwner();
      getLogger().info(getBundle().getString("begin-transaction"));
    }

    transactionInfo.incrementCounter();
  }

  private void handleException(final Exception cause) {
    Transaction transaction = getTransactionContext().getCurrentTransaction();
View Full Code Here

Examples of br.gov.frameworkdemoiselle.internal.implementation.TransactionInfo.incrementCounter()

      transaction.begin();
      transactionInfo.markAsOwner();
      getLogger().info(getBundle().getString("begin-transaction"));
    }

    transactionInfo.incrementCounter();
  }

  private void handleException(final Exception cause) {
    Transaction transaction = getTransactionContext().getCurrentTransaction();
View Full Code Here

Examples of com.amazonaws.util.AWSRequestMetrics.incrementCounter()

                }
            } catch (IOException ioe) {
                if (log.isInfoEnabled()) {
                    log.info("Unable to execute HTTP request: " + ioe.getMessage(), ioe);
                }
                awsRequestMetrics.incrementCounter(Field.Exception);
                awsRequestMetrics.addProperty(Field.Exception, ioe);
                awsRequestMetrics.addProperty(Field.AWSRequestID, null);

                AmazonClientException ace = new AmazonClientException("Unable to execute HTTP request: " + ioe.getMessage(), ioe);
                if (!shouldRetry(request.getOriginalRequest(),
View Full Code Here

Examples of com.amazonaws.util.AWSRequestMetrics.incrementCounter()

                }
            } catch (IOException ioe) {
                if (log.isInfoEnabled()) {
                    log.info("Unable to execute HTTP request: " + ioe.getMessage(), ioe);
                }
                awsRequestMetrics.incrementCounter(Field.Exception);
                awsRequestMetrics.addProperty(Field.Exception, ioe);
                awsRequestMetrics.addProperty(Field.AWSRequestID, null);

                AmazonClientException ace = new AmazonClientException("Unable to execute HTTP request: " + ioe.getMessage(), ioe);
                if (!shouldRetry(request.getOriginalRequest(),
View Full Code Here

Examples of com.amazonaws.util.AWSRequestMetrics.incrementCounter()

                }
            } catch (IOException ioe) {
                if (log.isInfoEnabled()) {
                    log.info("Unable to execute HTTP request: " + ioe.getMessage(), ioe);
                }
                awsRequestMetrics.incrementCounter(Field.Exception);
                awsRequestMetrics.addProperty(Field.Exception, ioe.toString());
                awsRequestMetrics.addProperty(Field.AWSRequestID, null);

                AmazonClientException ace = new AmazonClientException("Unable to execute HTTP request: " + ioe.getMessage(), ioe);
                if (!shouldRetry(request.getOriginalRequest(),
View Full Code Here

Examples of com.amazonaws.util.AWSRequestMetrics.incrementCounter()

                }
            } catch (IOException ioe) {
                if (log.isInfoEnabled()) {
                    log.info("Unable to execute HTTP request: " + ioe.getMessage(), ioe);
                }
                awsRequestMetrics.incrementCounter(Field.Exception);
                awsRequestMetrics.addProperty(Field.Exception, ioe);
                awsRequestMetrics.addProperty(Field.AWSRequestID, null);

                AmazonClientException ace = new AmazonClientException("Unable to execute HTTP request: " + ioe.getMessage(), ioe);
                if (!shouldRetry(request.getOriginalRequest(),
View Full Code Here

Examples of com.amazonaws.util.AWSRequestMetrics.incrementCounter()

        boolean retry = super.retryRequest(exception, executionCount, context);
        if (retry) {
            AWSRequestMetrics awsRequestMetrics = (AWSRequestMetrics) context
                    .getAttribute(AWSRequestMetrics.class.getSimpleName());
            if (awsRequestMetrics != null) {
                awsRequestMetrics.incrementCounter(Field.HttpClientRetryCount);
            }
        }
        return retry;
    }
}
View Full Code Here

Examples of com.amazonaws.util.AWSRequestMetrics.incrementCounter()

                }
            } catch (IOException ioe) {
                if (log.isInfoEnabled()) {
                    log.info("Unable to execute HTTP request: " + ioe.getMessage(), ioe);
                }
                awsRequestMetrics.incrementCounter(Field.Exception);
                awsRequestMetrics.addProperty(Field.Exception, ioe);
                awsRequestMetrics.addProperty(Field.AWSRequestID, null);

                AmazonClientException ace = new AmazonClientException("Unable to execute HTTP request: " + ioe.getMessage(), ioe);
                if (!shouldRetry(request.getOriginalRequest(),
View Full Code Here

Examples of com.amazonaws.util.AWSRequestMetrics.incrementCounter()

                }
            } catch (IOException ioe) {
                if (log.isInfoEnabled()) {
                    log.info("Unable to execute HTTP request: " + ioe.getMessage(), ioe);
                }
                awsRequestMetrics.incrementCounter(Field.Exception);
                awsRequestMetrics.addProperty(Field.Exception, ioe.toString());
                awsRequestMetrics.addProperty(Field.AWSRequestID, null);

                AmazonClientException ace = new AmazonClientException("Unable to execute HTTP request: " + ioe.getMessage(), ioe);
                if (!shouldRetry(request.getOriginalRequest(),
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.