summaryrefslogtreecommitdiff
path: root/java/common/src/main/java/org/apache/qpid/util/concurrent/Capacity.java
blob: e317c849715094a9663c1411f48d3292fa989671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package org.apache.qpid.util.concurrent;

/**
 * An interface exposed by data structures that have a maximum capacity.
 *
 * <p/><table id="crc"><caption>CRC Card</caption>
 * <tr><th> Responsibilities <th> Collaborations
 * <tr><td> Report the maximum capacity.
 * </table>
 */
public interface Capacity
{
    public int getCapacity();
}