Class ContactInfoListImpl
java.lang.Object
com.sun.corba.ee.impl.transport.ContactInfoListImpl
- All Implemented Interfaces:
ContactInfoList
- Direct Known Subclasses:
NoConnectionCacheImpl.NCCContactInfoListImpl, SocketFactoryContactInfoListImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IORprotected List<ContactInfo> private ReadWriteLockprotected LocalClientRequestDispatcherprotected ORBprotected ContactInfoprivate static ThreadLocal<Boolean> private intprotected IORprivate org.glassfish.pfl.basic.func.UnaryPredicate<ContactInfo> private booleanprivate static final ORBUtilSystemException -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddRemoteContactInfos(IOR effectiveTargetIOR, List<ContactInfo> effectiveTargetIORContactInfoList) private voidchangingEffectiveAddress(IIOPAddress oldAddr, IIOPAddress newAddr) protected ContactInfocreateContactInfo(String type, String hostname, int port) private void/////////////////////////////////////////////////private voidprivate voidbooleanprivate <T> List<T> private IIOPAddressgetPrimaryAddress(IOR ior) inthashCode()/////////////////////////////////////////////////iterator()private List<ContactInfo> rotate(List<ContactInfo> arg) voidsetEffectiveTargetIOR(IOR newIOR) protected voidsetLocalSubcontract sets cached information that is set whenever the effectiveTargetIOR changes.static voidvoidsetTargetIOR(IOR targetIOR) /////////////////////////////////////////////////
-
Field Details
-
wrapper
-
orb
-
lcrdLock
-
localClientRequestDispatcher
-
targetIOR
-
effectiveTargetIOR
-
effectiveTargetIORContactInfoList
-
-
usePerRequestLoadBalancing
private boolean usePerRequestLoadBalancing -
startCount
private int startCount -
testPred
-
skipRotate
-
-
Constructor Details
-
ContactInfoListImpl
-
ContactInfoListImpl
-
-
Method Details
-
filter
-
setSkipRotate
public static void setSkipRotate() -
display
-
display
-
rotate
-
iterator
- Specified by:
iteratorin interfaceContactInfoList
-
setTargetIOR
/////////////////////////////////////////////////- Specified by:
setTargetIORin interfaceContactInfoList
-
getTargetIOR
- Specified by:
getTargetIORin interfaceContactInfoList
-
getPrimaryAddress
-
changingEffectiveAddress
-
setEffectiveTargetIOR
- Specified by:
setEffectiveTargetIORin interfaceContactInfoList
-
getEffectiveTargetIOR
- Specified by:
getEffectiveTargetIORin interfaceContactInfoList
-
getLocalClientRequestDispatcher
- Specified by:
getLocalClientRequestDispatcherin interfaceContactInfoList
-
hashCode
public int hashCode()/////////////////////////////////////////////////- Specified by:
hashCodein interfaceContactInfoList- Overrides:
hashCodein classObject
-
equals
-
createContactInfoList
private void createContactInfoList()///////////////////////////////////////////////// -
addRemoteContactInfos
private void addRemoteContactInfos(IOR effectiveTargetIOR, List<ContactInfo> effectiveTargetIORContactInfoList) -
createContactInfo
-
setLocalSubcontract
protected void setLocalSubcontract()setLocalSubcontract sets cached information that is set whenever the effectiveTargetIOR changes. Note: this must be maintained accurately whether or not the ORB allows local optimization, because ServantManagers in the POA ALWAYS use local optimization ONLY (they do not have a remote case). -
getPrimaryContactInfo
-