18#ifndef _ACTIVEMQ_UTIL_USAGE_H_
19#define _ACTIVEMQ_UTIL_USAGE_H_
#define AMQCPP_API
Definition Config.h:30
virtual void decreaseUsage(unsigned long long value)=0
Decreases the usage by the value amount.
virtual void waitForSpace(unsigned int timeout)=0
Waits for more space to be returned to this Usage Manager, times out when the given time span in mill...
virtual bool isFull() const =0
Returns true if this Usage instance is full, i.e.
virtual void waitForSpace()=0
Waits forever for more space to be returned to this Usage Manager.
virtual void increaseUsage(unsigned long long value)=0
Increases the usage by the value amount.
virtual void enqueueUsage(unsigned long long value)=0
Tries to increase the usage by value amount but blocks if this object is currently full.
Definition ActiveMQMessageTransformation.h:36
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24