Package com.sun.corba.ee.impl.transport
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 IOR
protected List
<ContactInfo> private ReadWriteLock
protected LocalClientRequestDispatcher
protected ORB
protected ContactInfo
private static ThreadLocal
<Boolean> private int
protected IOR
private org.glassfish.pfl.basic.func.UnaryPredicate
<ContactInfo> private boolean
private static final ORBUtilSystemException
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addRemoteContactInfos
(IOR effectiveTargetIOR, List<ContactInfo> effectiveTargetIORContactInfoList) private void
changingEffectiveAddress
(IIOPAddress oldAddr, IIOPAddress newAddr) protected ContactInfo
createContactInfo
(String type, String hostname, int port) private void
private void
private void
boolean
private <T> List
<T> private IIOPAddress
getPrimaryAddress
(IOR ior) int
hashCode()
iterator()
private List
<ContactInfo> rotate
(List<ContactInfo> arg) void
setEffectiveTargetIOR
(IOR newIOR) protected void
setLocalSubcontract sets cached information that is set whenever the effectiveTargetIOR changes.static void
void
setTargetIOR
(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:
iterator
in interfaceContactInfoList
-
setTargetIOR
- Specified by:
setTargetIOR
in interfaceContactInfoList
-
getTargetIOR
- Specified by:
getTargetIOR
in interfaceContactInfoList
-
getPrimaryAddress
-
changingEffectiveAddress
-
setEffectiveTargetIOR
- Specified by:
setEffectiveTargetIOR
in interfaceContactInfoList
-
getEffectiveTargetIOR
- Specified by:
getEffectiveTargetIOR
in interfaceContactInfoList
-
getLocalClientRequestDispatcher
- Specified by:
getLocalClientRequestDispatcher
in interfaceContactInfoList
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceContactInfoList
- Overrides:
hashCode
in 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
-