public static class Service.ServiceLoad
extends java.lang.Object
Service.ServiceLoadFlags,
ServiceImpl| Constructor and Description |
|---|
ServiceLoad()
Instantiates a new service load.
|
| Modifier and Type | Method and Description |
|---|---|
int |
action()
Returns action associated with this Load filter.
|
void |
action(int action)
Sets action associated with this Load filter.
|
void |
applyHasLoadFactor()
Applies loadFactor presence flag.
|
void |
applyHasOpenLimit()
Applies openLimit presence flag.
|
void |
applyHasOpenWindow()
Applies openWindow presence flag.
|
boolean |
checkHasLoadFactor()
Indicates presence of the loadFactor field.
|
boolean |
checkHasOpenLimit()
Indicates presence of the openLimit field.
|
boolean |
checkHasOpenWindow()
Indicates presence of the openWindow field.
|
void |
clear()
Clears an RDM Service Load.
|
int |
copy(Service.ServiceLoad destServiceLoad)
Performs a deep copy of
Service.ServiceLoad object. |
int |
decode(com.thomsonreuters.upa.codec.DecodeIterator dIter)
Decode a UPA service load filter into an RDM service load filter.
|
int |
encode(com.thomsonreuters.upa.codec.EncodeIterator encIter)
Encode an RDM Service Load filter.
|
int |
filterId()
Returns filterId - Populated by
Directory.ServiceFilterIds. |
int |
flags()
Returns the service load flags.
|
void |
flags(int flags)
Sets service load flags.
|
long |
loadFactor()
Returns the load factor - a number indicating the current workload of
the source providing the data.
|
void |
loadFactor(long loadFactor)
Sets load factor - a number indicating the current workload of
the source providing the data.
|
long |
openLimit()
Returns openLimit - The maximum number of items the Consumer is allowed to open
from this service.
|
void |
openLimit(long openLimit)
Sets openLimit - The maximum number of items the Consumer is allowed to open
from this service.
|
long |
openWindow()
Returns openWindow - The maximum number of items the Consumer may have
outstanding(i.e.
|
void |
openWindow(long openWindow)
Sets openWindow - The maximum number of items the Consumer may have
outstanding(i.e.
|
java.lang.String |
toString() |
int |
update(Service.ServiceLoad destServiceLoad)
Performs an update of
Service.ServiceLoad object. |
public void clear()
Service.ServiceLoadpublic java.lang.String toString()
toString in class java.lang.Objectpublic int flags()
Service.ServiceLoadFlagspublic void flags(int flags)
Service.ServiceLoadFlagsflags - the flagspublic int action()
public void action(int action)
action - the actionpublic long openLimit()
public void openLimit(long openLimit)
openLimit - the open limitpublic boolean checkHasOpenLimit()
flags().public void applyHasOpenLimit()
flags(int).public long openWindow()
public void openWindow(long openWindow)
openWindow - the open windowpublic boolean checkHasOpenWindow()
flags().public void applyHasOpenWindow()
flags(int).public long loadFactor()
public void loadFactor(long loadFactor)
loadFactor - the load factorpublic boolean checkHasLoadFactor()
flags().public void applyHasLoadFactor()
flags(int).public int copy(Service.ServiceLoad destServiceLoad)
Service.ServiceLoad object.destServiceLoad - ServiceLoad object to copy this object into. It cannot be null.public int update(Service.ServiceLoad destServiceLoad)
Service.ServiceLoad object.destServiceLoad - ServiceLoad object to update with information from this object. It cannot be null.public int filterId()
Directory.ServiceFilterIds.public int encode(com.thomsonreuters.upa.codec.EncodeIterator encIter)
encIter - The Encode Iteratorpublic int decode(com.thomsonreuters.upa.codec.DecodeIterator dIter)
dIter - The Decode IteratorCopyright @ 2019 Thomson Reuters. All Rights Reserved.