|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.jbi.messaging.routing.module.endpoint.WeightedEndpoint
public class WeightedEndpoint
A handler of a weighted endpoint.
| Nested Class Summary | |
|---|---|
static class |
WeightedEndpoint.Localization
Localization of the endpoint |
| Field Summary | |
|---|---|
ServiceEndpoint |
endpoint
The endpoint instance |
WeightedEndpoint.Localization |
localization
The localization of the endpoint |
java.lang.Float |
weight
The weight of the endpoint |
| Constructor Summary | |
|---|---|
WeightedEndpoint(ServiceEndpoint endpoint,
float weighting,
WeightedEndpoint.Localization localization)
|
|
WeightedEndpoint(ServiceEndpoint endpoint,
WeightedEndpoint.Localization localization)
|
|
| Method Summary | |
|---|---|
int |
compareTo(WeightedEndpoint comparatedObject)
The comparison is reversed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ServiceEndpoint endpoint
public java.lang.Float weight
public WeightedEndpoint.Localization localization
| Constructor Detail |
|---|
public WeightedEndpoint(ServiceEndpoint endpoint,
float weighting,
WeightedEndpoint.Localization localization)
public WeightedEndpoint(ServiceEndpoint endpoint,
WeightedEndpoint.Localization localization)
| Method Detail |
|---|
public int compareTo(WeightedEndpoint comparatedObject)
compareTo in interface java.lang.Comparable<WeightedEndpoint>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||