Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01

weblogic.wsee.reliability
Class MessageRange

java.lang.Object
  extended by weblogic.wsee.reliability.MessageRange
All Implemented Interfaces:
Comparable

public final class MessageRange
extends Object
implements Comparable

A range of acknowledged messages


Field Summary
 long lowerBounds
          The lowest numbered acknowledged message
 long upperBounds
          The highest numbered acknowledged message
 
Constructor Summary
MessageRange(long lowerBounds, long upperBounds)
           
 
Method Summary
 int compareTo(Object o)
          Compares two message ranges for ordering
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lowerBounds

public final long lowerBounds
The lowest numbered acknowledged message


upperBounds

public final long upperBounds
The highest numbered acknowledged message

Constructor Detail

MessageRange

public MessageRange(long lowerBounds,
                    long upperBounds)
Method Detail

compareTo

public int compareTo(Object o)
Compares two message ranges for ordering

Specified by:
compareTo in interface Comparable
Parameters:
o - The MessageRange to compare against
Returns:
-1 if this message range comes before the input argument; 1 if this message range comes after the input argument; 0 if this message range is the same as the input argument

Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01