All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.commons.util.concurrent.CacheBackpressureFullException Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.commons.util.concurrent;

import org.infinispan.commons.CacheException;
import org.infinispan.commons.util.TimedThreadDump;

/**
 * A {@link CacheException} that is thrown when the backpressure has been filled an unable to process the request. This
 * can be thrown during periods where too much concurrency was requested or the load from an external source is too
 * high. This can be remedied by reducing the load or increasing the backpressure handling (usually buffering of some sort).
 */
public class CacheBackpressureFullException extends CacheException {

   public CacheBackpressureFullException() {
      TimedThreadDump.generateThreadDump();
   }

   public CacheBackpressureFullException(String message) {
      super(message);
      TimedThreadDump.generateThreadDump();
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy