id
int32
0
165k
repo
stringlengths
7
58
path
stringlengths
12
218
func_name
stringlengths
3
140
original_string
stringlengths
73
34.1k
language
stringclasses
1 value
code
stringlengths
73
34.1k
code_tokens
list
docstring
stringlengths
3
16k
docstring_tokens
list
sha
stringlengths
40
40
url
stringlengths
105
339
70,500
OpenLiberty/open-liberty
dev/com.ibm.ws.monitor/src/com/ibm/ws/monitor/internal/bci/ProbeMethodAdapter.java
ProbeMethodAdapter.setProbeInProgress
protected void setProbeInProgress(boolean inProgress) { if (inProgress && !this.probeInProgress) { this.probeInProgress = true; if (this.probeMethodAdapter != null) { this.mv = this.visitor; } } else if (!inProgress && this.probeInProgress) { ...
java
protected void setProbeInProgress(boolean inProgress) { if (inProgress && !this.probeInProgress) { this.probeInProgress = true; if (this.probeMethodAdapter != null) { this.mv = this.visitor; } } else if (!inProgress && this.probeInProgress) { ...
[ "protected", "void", "setProbeInProgress", "(", "boolean", "inProgress", ")", "{", "if", "(", "inProgress", "&&", "!", "this", ".", "probeInProgress", ")", "{", "this", ".", "probeInProgress", "=", "true", ";", "if", "(", "this", ".", "probeMethodAdapter", "...
Called by the project injection adapter to indicate that the probe instruction stream is being injected. This is used to change the target of the chain to skip other probe related adapters. @param inProgress true if the probe injection is starting, false if ended
[ "Called", "by", "the", "project", "injection", "adapter", "to", "indicate", "that", "the", "probe", "instruction", "stream", "is", "being", "injected", ".", "This", "is", "used", "to", "change", "the", "target", "of", "the", "chain", "to", "skip", "other", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/monitor/internal/bci/ProbeMethodAdapter.java#L571-L581
70,501
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaActivationSpecImpl.java
SibRaActivationSpecImpl.setTargetSignificance
public void setTargetSignificance(String targetSignificance) { if (TraceComponent.isAnyTracingEnabled() && TRACE.isDebugEnabled()) { SibTr.debug(this, TRACE, "setTargetSignificance", targetSignificance); } _targetSignificance = targetSignificance; }
java
public void setTargetSignificance(String targetSignificance) { if (TraceComponent.isAnyTracingEnabled() && TRACE.isDebugEnabled()) { SibTr.debug(this, TRACE, "setTargetSignificance", targetSignificance); } _targetSignificance = targetSignificance; }
[ "public", "void", "setTargetSignificance", "(", "String", "targetSignificance", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "TRACE", ".", "isDebugEnabled", "(", ")", ")", "{", "SibTr", ".", "debug", "(", "this", ",", "T...
Set the target significance property. @param target significance
[ "Set", "the", "target", "significance", "property", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaActivationSpecImpl.java#L1039-L1046
70,502
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaActivationSpecImpl.java
SibRaActivationSpecImpl.setTargetTransportChain
public void setTargetTransportChain(String targetTransportChain) { if (TraceComponent.isAnyTracingEnabled() && TRACE.isDebugEnabled()) { SibTr.debug(this, TRACE, "setTargetTransportChain", targetTransportChain); } _targetTransportChain = targetTransportChain; }
java
public void setTargetTransportChain(String targetTransportChain) { if (TraceComponent.isAnyTracingEnabled() && TRACE.isDebugEnabled()) { SibTr.debug(this, TRACE, "setTargetTransportChain", targetTransportChain); } _targetTransportChain = targetTransportChain; }
[ "public", "void", "setTargetTransportChain", "(", "String", "targetTransportChain", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "TRACE", ".", "isDebugEnabled", "(", ")", ")", "{", "SibTr", ".", "debug", "(", "this", ",", ...
Set the target transport chain property. @param target transport chain
[ "Set", "the", "target", "transport", "chain", "property", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaActivationSpecImpl.java#L1053-L1060
70,503
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaActivationSpecImpl.java
SibRaActivationSpecImpl.setUseServerSubject
public void setUseServerSubject(Boolean useServerSubject) { if (TraceComponent.isAnyTracingEnabled() && TRACE.isDebugEnabled()) { SibTr.debug(this, TRACE, "setUseServerSubject", useServerSubject); } _useServerSubject = useServerSubject; }
java
public void setUseServerSubject(Boolean useServerSubject) { if (TraceComponent.isAnyTracingEnabled() && TRACE.isDebugEnabled()) { SibTr.debug(this, TRACE, "setUseServerSubject", useServerSubject); } _useServerSubject = useServerSubject; }
[ "public", "void", "setUseServerSubject", "(", "Boolean", "useServerSubject", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "TRACE", ".", "isDebugEnabled", "(", ")", ")", "{", "SibTr", ".", "debug", "(", "this", ",", "TRAC...
Set the useServerSubject property. @param useServerSubject
[ "Set", "the", "useServerSubject", "property", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaActivationSpecImpl.java#L1089-L1096
70,504
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaActivationSpecImpl.java
SibRaActivationSpecImpl.setRetryInterval
public void setRetryInterval(String retryInterval) { _retryInterval = (retryInterval == null ? null : Integer.valueOf(retryInterval)); }
java
public void setRetryInterval(String retryInterval) { _retryInterval = (retryInterval == null ? null : Integer.valueOf(retryInterval)); }
[ "public", "void", "setRetryInterval", "(", "String", "retryInterval", ")", "{", "_retryInterval", "=", "(", "retryInterval", "==", "null", "?", "null", ":", "Integer", ".", "valueOf", "(", "retryInterval", ")", ")", ";", "}" ]
Sets the retry interval
[ "Sets", "the", "retry", "interval" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaActivationSpecImpl.java#L1196-L1199
70,505
OpenLiberty/open-liberty
dev/com.ibm.ws.webservices.javaee.common/src/com/ibm/ws/webservices/javaee/common/internal/JaxWsDDHelper.java
JaxWsDDHelper.getPortComponentByEJBLink
static PortComponent getPortComponentByEJBLink(String ejbLink, Adaptable containerToAdapt) throws UnableToAdaptException { return getHighLevelElementByServiceImplBean(ejbLink, containerToAdapt, PortComponent.class, LinkType.EJB); }
java
static PortComponent getPortComponentByEJBLink(String ejbLink, Adaptable containerToAdapt) throws UnableToAdaptException { return getHighLevelElementByServiceImplBean(ejbLink, containerToAdapt, PortComponent.class, LinkType.EJB); }
[ "static", "PortComponent", "getPortComponentByEJBLink", "(", "String", "ejbLink", ",", "Adaptable", "containerToAdapt", ")", "throws", "UnableToAdaptException", "{", "return", "getHighLevelElementByServiceImplBean", "(", "ejbLink", ",", "containerToAdapt", ",", "PortComponent...
Get the PortComponent by ejb-link. @param ejbLink @param containerToAdapt @return @throws UnableToAdaptException
[ "Get", "the", "PortComponent", "by", "ejb", "-", "link", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webservices.javaee.common/src/com/ibm/ws/webservices/javaee/common/internal/JaxWsDDHelper.java#L44-L46
70,506
OpenLiberty/open-liberty
dev/com.ibm.ws.webservices.javaee.common/src/com/ibm/ws/webservices/javaee/common/internal/JaxWsDDHelper.java
JaxWsDDHelper.getPortComponentByServletLink
static PortComponent getPortComponentByServletLink(String servletLink, Adaptable containerToAdapt) throws UnableToAdaptException { return getHighLevelElementByServiceImplBean(servletLink, containerToAdapt, PortComponent.class, LinkType.SERVLET); }
java
static PortComponent getPortComponentByServletLink(String servletLink, Adaptable containerToAdapt) throws UnableToAdaptException { return getHighLevelElementByServiceImplBean(servletLink, containerToAdapt, PortComponent.class, LinkType.SERVLET); }
[ "static", "PortComponent", "getPortComponentByServletLink", "(", "String", "servletLink", ",", "Adaptable", "containerToAdapt", ")", "throws", "UnableToAdaptException", "{", "return", "getHighLevelElementByServiceImplBean", "(", "servletLink", ",", "containerToAdapt", ",", "P...
Get the PortComponent by servlet-link. @param servletLink @param containerToAdapt @return @throws UnableToAdaptException
[ "Get", "the", "PortComponent", "by", "servlet", "-", "link", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webservices.javaee.common/src/com/ibm/ws/webservices/javaee/common/internal/JaxWsDDHelper.java#L56-L58
70,507
OpenLiberty/open-liberty
dev/com.ibm.ws.webservices.javaee.common/src/com/ibm/ws/webservices/javaee/common/internal/JaxWsDDHelper.java
JaxWsDDHelper.getWebserviceDescriptionByEJBLink
static WebserviceDescription getWebserviceDescriptionByEJBLink(String ejbLink, Adaptable containerToAdapt) throws UnableToAdaptException { return getHighLevelElementByServiceImplBean(ejbLink, containerToAdapt, WebserviceDescription.class, LinkType.EJB); }
java
static WebserviceDescription getWebserviceDescriptionByEJBLink(String ejbLink, Adaptable containerToAdapt) throws UnableToAdaptException { return getHighLevelElementByServiceImplBean(ejbLink, containerToAdapt, WebserviceDescription.class, LinkType.EJB); }
[ "static", "WebserviceDescription", "getWebserviceDescriptionByEJBLink", "(", "String", "ejbLink", ",", "Adaptable", "containerToAdapt", ")", "throws", "UnableToAdaptException", "{", "return", "getHighLevelElementByServiceImplBean", "(", "ejbLink", ",", "containerToAdapt", ",", ...
Get the WebserviceDescription by ejb-link. @param ejbLink @param containerToAdapt @return @throws UnableToAdaptException
[ "Get", "the", "WebserviceDescription", "by", "ejb", "-", "link", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webservices.javaee.common/src/com/ibm/ws/webservices/javaee/common/internal/JaxWsDDHelper.java#L68-L70
70,508
OpenLiberty/open-liberty
dev/com.ibm.ws.webservices.javaee.common/src/com/ibm/ws/webservices/javaee/common/internal/JaxWsDDHelper.java
JaxWsDDHelper.getWebserviceDescriptionByServletLink
static WebserviceDescription getWebserviceDescriptionByServletLink(String servletLink, Adaptable containerToAdapt) throws UnableToAdaptException { return getHighLevelElementByServiceImplBean(servletLink, containerToAdapt, WebserviceDescription.class, LinkType.SERVLET); }
java
static WebserviceDescription getWebserviceDescriptionByServletLink(String servletLink, Adaptable containerToAdapt) throws UnableToAdaptException { return getHighLevelElementByServiceImplBean(servletLink, containerToAdapt, WebserviceDescription.class, LinkType.SERVLET); }
[ "static", "WebserviceDescription", "getWebserviceDescriptionByServletLink", "(", "String", "servletLink", ",", "Adaptable", "containerToAdapt", ")", "throws", "UnableToAdaptException", "{", "return", "getHighLevelElementByServiceImplBean", "(", "servletLink", ",", "containerToAda...
Get the WebserviceDescription by servlet-link. @param servletLink @param containerToAdapt @return @throws UnableToAdaptException
[ "Get", "the", "WebserviceDescription", "by", "servlet", "-", "link", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webservices.javaee.common/src/com/ibm/ws/webservices/javaee/common/internal/JaxWsDDHelper.java#L80-L82
70,509
OpenLiberty/open-liberty
dev/com.ibm.ws.webservices.javaee.common/src/com/ibm/ws/webservices/javaee/common/internal/JaxWsDDHelper.java
JaxWsDDHelper.getHighLevelElementByServiceImplBean
@SuppressWarnings("unchecked") private static <T> T getHighLevelElementByServiceImplBean(String portLink, Adaptable containerToAdapt, Class<T> clazz, LinkType linkType) throws UnableToAdaptException { if (null == portLink) { return null; } if (PortComponent.class.isAssignableFrom...
java
@SuppressWarnings("unchecked") private static <T> T getHighLevelElementByServiceImplBean(String portLink, Adaptable containerToAdapt, Class<T> clazz, LinkType linkType) throws UnableToAdaptException { if (null == portLink) { return null; } if (PortComponent.class.isAssignableFrom...
[ "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "private", "static", "<", "T", ">", "T", "getHighLevelElementByServiceImplBean", "(", "String", "portLink", ",", "Adaptable", "containerToAdapt", ",", "Class", "<", "T", ">", "clazz", ",", "LinkType", "linkType",...
For internal usage. Can only process the PortComponent.class and WebserviceDescription.class. @param portLink @param containerToAdapt @param clazz @return @throws UnableToAdaptException
[ "For", "internal", "usage", ".", "Can", "only", "process", "the", "PortComponent", ".", "class", "and", "WebserviceDescription", ".", "class", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webservices.javaee.common/src/com/ibm/ws/webservices/javaee/common/internal/JaxWsDDHelper.java#L93-L127
70,510
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/runtime/anycast/ReceivedMessageRequestInfo.java
ReceivedMessageRequestInfo.getCompletionTime
public long getCompletionTime() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getCompletionTime"); long completionTime =-1; //only calculate if the timeout is not infinite long timeOut = getTimeout(); if(timeOut != SIMPConstants.INFINITE_TIMEOU...
java
public long getCompletionTime() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getCompletionTime"); long completionTime =-1; //only calculate if the timeout is not infinite long timeOut = getTimeout(); if(timeOut != SIMPConstants.INFINITE_TIMEOU...
[ "public", "long", "getCompletionTime", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"getCompletionTime\"", ")", ";", "long", "co...
Return the completion time for this request. -1 means infinite
[ "Return", "the", "completion", "time", "for", "this", "request", ".", "-", "1", "means", "infinite" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/runtime/anycast/ReceivedMessageRequestInfo.java#L109-L127
70,511
OpenLiberty/open-liberty
dev/com.ibm.ws.jndi/src/com/ibm/ws/jndi/internal/JNDIEntry.java
JNDIEntry.deactivate
protected synchronized void deactivate(ComponentContext context) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "Unregistering JNDIEntry " + serviceRegistration); } if (this.serviceRegistration != null) { this.serviceRegistration.unregis...
java
protected synchronized void deactivate(ComponentContext context) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "Unregistering JNDIEntry " + serviceRegistration); } if (this.serviceRegistration != null) { this.serviceRegistration.unregis...
[ "protected", "synchronized", "void", "deactivate", "(", "ComponentContext", "context", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "debug", "(", "tc", ",", "...
Unregisters a service if one was registered @param context
[ "Unregisters", "a", "service", "if", "one", "was", "registered" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jndi/src/com/ibm/ws/jndi/internal/JNDIEntry.java#L94-L101
70,512
OpenLiberty/open-liberty
dev/com.ibm.ws.security.social/src/com/ibm/websphere/security/social/UserProfileManager.java
UserProfileManager.getUserProfile
public static UserProfile getUserProfile() { UserProfile userProfile = null; Subject subject = getSubject(); Iterator<UserProfile> userProfilesIterator = subject.getPrivateCredentials(UserProfile.class).iterator(); if (userProfilesIterator.hasNext()) { userProfile = userProfi...
java
public static UserProfile getUserProfile() { UserProfile userProfile = null; Subject subject = getSubject(); Iterator<UserProfile> userProfilesIterator = subject.getPrivateCredentials(UserProfile.class).iterator(); if (userProfilesIterator.hasNext()) { userProfile = userProfi...
[ "public", "static", "UserProfile", "getUserProfile", "(", ")", "{", "UserProfile", "userProfile", "=", "null", ";", "Subject", "subject", "=", "getSubject", "(", ")", ";", "Iterator", "<", "UserProfile", ">", "userProfilesIterator", "=", "subject", ".", "getPriv...
Get UserProfile for the subject on the thread. @return the user profile for the social media authenticated user.
[ "Get", "UserProfile", "for", "the", "subject", "on", "the", "thread", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.social/src/com/ibm/websphere/security/social/UserProfileManager.java#L37-L45
70,513
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientAsynchEventThreadPool.java
ClientAsynchEventThreadPool.dispatchAsynchException
public void dispatchAsynchException(ProxyQueue proxyQueue, Exception exception) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "dispatchAsynchException", new Object[] { proxyQueue, exception }); // Create a runnable with the ...
java
public void dispatchAsynchException(ProxyQueue proxyQueue, Exception exception) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "dispatchAsynchException", new Object[] { proxyQueue, exception }); // Create a runnable with the ...
[ "public", "void", "dispatchAsynchException", "(", "ProxyQueue", "proxyQueue", ",", "Exception", "exception", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "...
Dispatches the exception to the relevant proxy queue. @param proxyQueue @param exception
[ "Dispatches", "the", "exception", "to", "the", "relevant", "proxy", "queue", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientAsynchEventThreadPool.java#L132-L142
70,514
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientAsynchEventThreadPool.java
ClientAsynchEventThreadPool.dispatchAsynchEvent
public void dispatchAsynchEvent(short eventId, Conversation conversation) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dispatchAsynchEvent", new Object[] { ""+eventId, conversation }); // Create a runnable with the d...
java
public void dispatchAsynchEvent(short eventId, Conversation conversation) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dispatchAsynchEvent", new Object[] { ""+eventId, conversation }); // Create a runnable with the d...
[ "public", "void", "dispatchAsynchEvent", "(", "short", "eventId", ",", "Conversation", "conversation", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", ...
Dispatches the data to be sent to the connection event listeners on a thread. @param eventId @param conversation
[ "Dispatches", "the", "data", "to", "be", "sent", "to", "the", "connection", "event", "listeners", "on", "a", "thread", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientAsynchEventThreadPool.java#L150-L160
70,515
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientAsynchEventThreadPool.java
ClientAsynchEventThreadPool.dispatchCommsException
public void dispatchCommsException(SICoreConnection conn, ProxyQueueConversationGroup proxyQueueConversationGroup, SIConnectionLostException exception) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this...
java
public void dispatchCommsException(SICoreConnection conn, ProxyQueueConversationGroup proxyQueueConversationGroup, SIConnectionLostException exception) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this...
[ "public", "void", "dispatchCommsException", "(", "SICoreConnection", "conn", ",", "ProxyQueueConversationGroup", "proxyQueueConversationGroup", ",", "SIConnectionLostException", "exception", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", ...
Dispatches the exception to be sent to the connection event listeners on a thread. @param conn @param exception
[ "Dispatches", "the", "exception", "to", "be", "sent", "to", "the", "connection", "event", "listeners", "on", "a", "thread", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientAsynchEventThreadPool.java#L168-L179
70,516
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientAsynchEventThreadPool.java
ClientAsynchEventThreadPool.dispatchDestinationListenerEvent
public void dispatchDestinationListenerEvent(SICoreConnection conn, SIDestinationAddress destinationAddress, DestinationAvailability destinationAvailability, DestinationListener destinationListener) { if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dispatchDestin...
java
public void dispatchDestinationListenerEvent(SICoreConnection conn, SIDestinationAddress destinationAddress, DestinationAvailability destinationAvailability, DestinationListener destinationListener) { if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dispatchDestin...
[ "public", "void", "dispatchDestinationListenerEvent", "(", "SICoreConnection", "conn", ",", "SIDestinationAddress", "destinationAddress", ",", "DestinationAvailability", "destinationAvailability", ",", "DestinationListener", "destinationListener", ")", "{", "if", "(", "TraceCom...
Dispatches a thread which will call the destinationAvailable method on the destinationListener passing in the supplied parameters. @param conn @param destinationAddress @param destinationAvailability @param destinationListener
[ "Dispatches", "a", "thread", "which", "will", "call", "the", "destinationAvailable", "method", "on", "the", "destinationListener", "passing", "in", "the", "supplied", "parameters", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientAsynchEventThreadPool.java#L189-L200
70,517
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientAsynchEventThreadPool.java
ClientAsynchEventThreadPool.dispatchConsumerSetChangeCallbackEvent
public void dispatchConsumerSetChangeCallbackEvent(ConsumerSetChangeCallback consumerSetChangeCallback,boolean isEmpty) { if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dispatchConsumerSetChangeCallbackEvent", new Object[]{consumerSetChangeCallback, isEmpty})...
java
public void dispatchConsumerSetChangeCallbackEvent(ConsumerSetChangeCallback consumerSetChangeCallback,boolean isEmpty) { if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dispatchConsumerSetChangeCallbackEvent", new Object[]{consumerSetChangeCallback, isEmpty})...
[ "public", "void", "dispatchConsumerSetChangeCallbackEvent", "(", "ConsumerSetChangeCallback", "consumerSetChangeCallback", ",", "boolean", "isEmpty", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")"...
Dispatches a thread which will call the consumerSetChange method on the ConsumerSetChangeCallback passing in the supplied parameters. @param consumerSetChangeCallback @param isEmpty
[ "Dispatches", "a", "thread", "which", "will", "call", "the", "consumerSetChange", "method", "on", "the", "ConsumerSetChangeCallback", "passing", "in", "the", "supplied", "parameters", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientAsynchEventThreadPool.java#L209-L219
70,518
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientAsynchEventThreadPool.java
ClientAsynchEventThreadPool.dispatchStoppableConsumerSessionStopped
public void dispatchStoppableConsumerSessionStopped(ConsumerSessionProxy consumerSessionProxy) { if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dispatchStoppableConsumerSessionStopped", consumerSessionProxy); //Create a new StoppableAsynchConsumerCallbackThread an...
java
public void dispatchStoppableConsumerSessionStopped(ConsumerSessionProxy consumerSessionProxy) { if(TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dispatchStoppableConsumerSessionStopped", consumerSessionProxy); //Create a new StoppableAsynchConsumerCallbackThread an...
[ "public", "void", "dispatchStoppableConsumerSessionStopped", "(", "ConsumerSessionProxy", "consumerSessionProxy", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(...
Dispatches a thread which will call the stoppableConsumerSessionStopped method on consumerSessionProxy. @param consumerSessionProxy
[ "Dispatches", "a", "thread", "which", "will", "call", "the", "stoppableConsumerSessionStopped", "method", "on", "consumerSessionProxy", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientAsynchEventThreadPool.java#L227-L236
70,519
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientAsynchEventThreadPool.java
ClientAsynchEventThreadPool.dispatchThread
private void dispatchThread(Runnable runnable) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dispatchThread"); try { // Get a thread from the pool to excute it // By only passing the thread we default to wait if the threadpool queue is ...
java
private void dispatchThread(Runnable runnable) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dispatchThread"); try { // Get a thread from the pool to excute it // By only passing the thread we default to wait if the threadpool queue is ...
[ "private", "void", "dispatchThread", "(", "Runnable", "runnable", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"dispatch...
Actually dispatches the thread. @param runnable
[ "Actually", "dispatches", "the", "thread", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientAsynchEventThreadPool.java#L243-L262
70,520
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientAsynchEventThreadPool.java
ClientAsynchEventThreadPool.invokeCallback
private static void invokeCallback(SICoreConnection conn, ConsumerSession session, // d172528 Exception exception, int eventId) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "invokeCallback", new Ob...
java
private static void invokeCallback(SICoreConnection conn, ConsumerSession session, // d172528 Exception exception, int eventId) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "invokeCallback", new Ob...
[ "private", "static", "void", "invokeCallback", "(", "SICoreConnection", "conn", ",", "ConsumerSession", "session", ",", "// d172528", "Exception", "exception", ",", "int", "eventId", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&"...
This method will send a message to the connection listeners associated with this connection. @param conn May be null if invoking an async callback @param session May be null if invoking a connection callback @param exception May be null if invoking a connection callback @param eventId The event Id
[ "This", "method", "will", "send", "a", "message", "to", "the", "connection", "listeners", "associated", "with", "this", "connection", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientAsynchEventThreadPool.java#L273-L345
70,521
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/internal/SRTServletRequestUtils.java
SRTServletRequestUtils.getHeader
@Sensitive public static String getHeader(HttpServletRequest req, String key) { HttpServletRequest sr = getWrappedServletRequestObject(req); return sr.getHeader(key); }
java
@Sensitive public static String getHeader(HttpServletRequest req, String key) { HttpServletRequest sr = getWrappedServletRequestObject(req); return sr.getHeader(key); }
[ "@", "Sensitive", "public", "static", "String", "getHeader", "(", "HttpServletRequest", "req", ",", "String", "key", ")", "{", "HttpServletRequest", "sr", "=", "getWrappedServletRequestObject", "(", "req", ")", ";", "return", "sr", ".", "getHeader", "(", "key", ...
Obtain the value of the specified header. @param req @param key @return The value of the header @see HttpServletRequest#getHeader(String)
[ "Obtain", "the", "value", "of", "the", "specified", "header", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/internal/SRTServletRequestUtils.java#L95-L99
70,522
OpenLiberty/open-liberty
dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/remote/TransactionWrapper.java
TransactionWrapper.destroy
@Override public void destroy() // PK20881 { if (tc.isEntryEnabled()) Tr.entry(tc, "destroy"); // Dummy transactionWrappers may not be in any table and so // will not have a resourceCallback registered to remove them. if (_resourceCallback != null) _resou...
java
@Override public void destroy() // PK20881 { if (tc.isEntryEnabled()) Tr.entry(tc, "destroy"); // Dummy transactionWrappers may not be in any table and so // will not have a resourceCallback registered to remove them. if (_resourceCallback != null) _resou...
[ "@", "Override", "public", "void", "destroy", "(", ")", "// PK20881", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"destroy\"", ")", ";", "// Dummy transactionWrappers may not be in any table and so", "// will...
as another server tried to rollback the transaction.
[ "as", "another", "server", "tried", "to", "rollback", "the", "transaction", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/remote/TransactionWrapper.java#L982-L1009
70,523
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java
FileLogOutput.close
protected void close() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "close" ); if (flushHelper != null) flushHelper.shutdown(); ...
java
protected void close() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass , "close" ); if (flushHelper != null) flushHelper.shutdown(); ...
[ "protected", "void", "close", "(", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", ",", "cclass", ",", "\"clo...
Prohibits further operations on the LogFile. @throws ObjectManagerException
[ "Prohibits", "further", "operations", "on", "the", "LogFile", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java#L580-L599
70,524
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java
FileLogOutput.setFileSpaceLeft
private void setFileSpaceLeft() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "setFileSpaceLeft", new Object[] { new Long(fileLogHeader.fileSize), new Long...
java
private void setFileSpaceLeft() throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "setFileSpaceLeft", new Object[] { new Long(fileLogHeader.fileSize), new Long...
[ "private", "void", "setFileSpaceLeft", "(", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", ",", "cclass", ",",...
Sets the amount of space still left in the log file. @throws ObjectManagerException
[ "Sets", "the", "amount", "of", "space", "still", "left", "in", "the", "log", "file", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java#L757-L779
70,525
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java
FileLogOutput.flush
final void flush() throws ObjectManagerException { final String methodName = "flush"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName); int startPage = 0; ...
java
final void flush() throws ObjectManagerException { final String methodName = "flush"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, methodName); int startPage = 0; ...
[ "final", "void", "flush", "(", ")", "throws", "ObjectManagerException", "{", "final", "String", "methodName", "=", "\"flush\"", ";", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", "."...
Writes buffered output to hardened storage. By the time this method returns all of the data in the logBuffer must have been written to the disk. We mark the last page as having a thread waiting. If there are no threads currently writing to any page we wake the flushHelper otherwise we let the writers wake the flushHelp...
[ "Writes", "buffered", "output", "to", "hardened", "storage", ".", "By", "the", "time", "this", "method", "returns", "all", "of", "the", "data", "in", "the", "logBuffer", "must", "have", "been", "written", "to", "the", "disk", ".", "We", "mark", "the", "l...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java#L859-L911
70,526
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java
FileLogOutput.reserve
protected void reserve(long reservedDelta) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "reserve", new Object[] { new Long(reservedDelta) } ...
java
protected void reserve(long reservedDelta) throws ObjectManagerException { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "reserve", new Object[] { new Long(reservedDelta) } ...
[ "protected", "void", "reserve", "(", "long", "reservedDelta", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", "...
Reserve space in the log file. We don't have to account for sector bytes because those were reserved at startup. @param reservedDelta the change to the number of reserved bytes if this write is successful. @throws ObjectManagerException
[ "Reserve", "space", "in", "the", "log", "file", ".", "We", "don", "t", "have", "to", "account", "for", "sector", "bytes", "because", "those", "were", "reserved", "at", "startup", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java#L954-L980
70,527
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java
FileLogOutput.reserveLogFileSpace
private long reserveLogFileSpace(long reservedDelta) { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "reserveLogFileSpace", new Object[] { new Long(reservedDelta) }); long s...
java
private long reserveLogFileSpace(long reservedDelta) { if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(this, cclass, "reserveLogFileSpace", new Object[] { new Long(reservedDelta) }); long s...
[ "private", "long", "reserveLogFileSpace", "(", "long", "reservedDelta", ")", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(", ")", "&&", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", ",", "cclass", ",", "\"re...
Reserve space in the log file. If the required space is not available then no space is acllocated in the log file. The space of freed when the log file is truncated. @param reservedDelta the change to the number allocated if they are available. Can be negative, if bytes are being returned, in which case the call is al...
[ "Reserve", "space", "in", "the", "log", "file", ".", "If", "the", "required", "space", "is", "not", "available", "then", "no", "space", "is", "acllocated", "in", "the", "log", "file", ".", "The", "space", "of", "freed", "when", "the", "log", "file", "i...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java#L992-L1042
70,528
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java
FileLogOutput.paddingReserveLogSpace
private long paddingReserveLogSpace(long spaceToReserve) throws ObjectManagerException { if (trace.isEntryEnabled()) trace.entry(this, cclass, "paddingReserveLogSpace", new Object[] { new Long(spaceToReserve) }); syn...
java
private long paddingReserveLogSpace(long spaceToReserve) throws ObjectManagerException { if (trace.isEntryEnabled()) trace.entry(this, cclass, "paddingReserveLogSpace", new Object[] { new Long(spaceToReserve) }); syn...
[ "private", "long", "paddingReserveLogSpace", "(", "long", "spaceToReserve", ")", "throws", "ObjectManagerException", "{", "if", "(", "trace", ".", "isEntryEnabled", "(", ")", ")", "trace", ".", "entry", "(", "this", ",", "cclass", ",", "\"paddingReserveLogSpace\""...
Reserve or unreserve log space, but keep back an amount used for padding. This method is used to ensure there is always enough padding space by keeping back space returned by add, delete and replace operations committing or backing out which was reserved up front. This never fails. It gives space even if not available....
[ "Reserve", "or", "unreserve", "log", "space", "but", "keep", "back", "an", "amount", "used", "for", "padding", ".", "This", "method", "is", "used", "to", "ensure", "there", "is", "always", "enough", "padding", "space", "by", "keeping", "back", "space", "re...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java#L1056-L1124
70,529
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java
FileLogOutput.writeNext
protected final long writeNext(LogRecord logRecord , long reservedDelta , boolean checkSpace , boolean flush ) throws ObjectManagerException { // if (T...
java
protected final long writeNext(LogRecord logRecord , long reservedDelta , boolean checkSpace , boolean flush ) throws ObjectManagerException { // if (T...
[ "protected", "final", "long", "writeNext", "(", "LogRecord", "logRecord", ",", "long", "reservedDelta", ",", "boolean", "checkSpace", ",", "boolean", "flush", ")", "throws", "ObjectManagerException", "{", "// if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) ",...
Copy a LogRecord into the LogBuffer ready to write to end of the LogFile. @param logRecord to be appended. @param reservedDelta the change to the number of reserved bytes if this write is successful. @param checkSpace true is we should check that log file space is available before filling the buffer. @param flush true...
[ "Copy", "a", "LogRecord", "into", "the", "LogBuffer", "ready", "to", "write", "to", "end", "of", "the", "LogFile", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java#L1137-L1166
70,530
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java
FileLogOutput.markAndWriteNext
protected final long markAndWriteNext(LogRecord logRecord, long reservedDelta, boolean checkSpace, boolean flush) throws ObjectManagerException { if (Tracing.isAn...
java
protected final long markAndWriteNext(LogRecord logRecord, long reservedDelta, boolean checkSpace, boolean flush) throws ObjectManagerException { if (Tracing.isAn...
[ "protected", "final", "long", "markAndWriteNext", "(", "LogRecord", "logRecord", ",", "long", "reservedDelta", ",", "boolean", "checkSpace", ",", "boolean", "flush", ")", "throws", "ObjectManagerException", "{", "if", "(", "Tracing", ".", "isAnyTracingEnabled", "(",...
Includes a LogRecord in a FlushSet for writing to end of the LogFile, as with writeNext but also sets the truncation mark to immediately befrore the written logRecord. @param logRecord to be appended. @param reservedDelta the change to the number of reserved bytes if this write is successful. @param checkSpace true is...
[ "Includes", "a", "LogRecord", "in", "a", "FlushSet", "for", "writing", "to", "end", "of", "the", "LogFile", "as", "with", "writeNext", "but", "also", "sets", "the", "truncation", "mark", "to", "immediately", "befrore", "the", "written", "logRecord", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java#L1181-L1211
70,531
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java
FileLogOutput.addPart
private int addPart(LogRecord logRecord, byte[] fillingBuffer, boolean completed, int offset, int partLength) throws ObjectManagerException { final String methodName = "addPart"; if (T...
java
private int addPart(LogRecord logRecord, byte[] fillingBuffer, boolean completed, int offset, int partLength) throws ObjectManagerException { final String methodName = "addPart"; if (T...
[ "private", "int", "addPart", "(", "LogRecord", "logRecord", ",", "byte", "[", "]", "fillingBuffer", ",", "boolean", "completed", ",", "int", "offset", ",", "int", "partLength", ")", "throws", "ObjectManagerException", "{", "final", "String", "methodName", "=", ...
Add the partHeader before the logRecord, and then the part of the logRecord. If necessary wrap round the end of the log buffer back to the start. @param logRecord from which the data is to be copied. @param fillingBuffer the logBuffer to fill. @param boolean true if the logRecord is completed. @param completed true if...
[ "Add", "the", "partHeader", "before", "the", "logRecord", "and", "then", "the", "part", "of", "the", "logRecord", ".", "If", "necessary", "wrap", "round", "the", "end", "of", "the", "log", "buffer", "back", "to", "the", "start", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/FileLogOutput.java#L1754-L1848
70,532
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/util/cache/SweepLruEvictionStrategy.java
SweepLruEvictionStrategy.cancel
public void cancel() { //d583637, F73234 synchronized (ivCancelLock) { //d601399 ivIsCanceled = true; if (ivScheduledFuture != null) ivScheduledFuture.cancel(false); ivCache = null; ivElements = null; } }
java
public void cancel() { //d583637, F73234 synchronized (ivCancelLock) { //d601399 ivIsCanceled = true; if (ivScheduledFuture != null) ivScheduledFuture.cancel(false); ivCache = null; ivElements = null; } }
[ "public", "void", "cancel", "(", ")", "{", "//d583637, F73234", "synchronized", "(", "ivCancelLock", ")", "{", "//d601399", "ivIsCanceled", "=", "true", ";", "if", "(", "ivScheduledFuture", "!=", "null", ")", "ivScheduledFuture", ".", "cancel", "(", "false", "...
Cancel the Scheduled Future object
[ "Cancel", "the", "Scheduled", "Future", "object" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/util/cache/SweepLruEvictionStrategy.java#L675-L683
70,533
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTextareaRendererBase.java
HtmlTextareaRendererBase.renderTextAreaValue
protected void renderTextAreaValue(FacesContext facesContext, UIComponent uiComponent) throws IOException { ResponseWriter writer = facesContext.getResponseWriter(); Object addNewLineAtStart = uiComponent.getAttributes().get(ADD_NEW_LINE_AT_START_ATTR); if (addNewLineAtStart != null...
java
protected void renderTextAreaValue(FacesContext facesContext, UIComponent uiComponent) throws IOException { ResponseWriter writer = facesContext.getResponseWriter(); Object addNewLineAtStart = uiComponent.getAttributes().get(ADD_NEW_LINE_AT_START_ATTR); if (addNewLineAtStart != null...
[ "protected", "void", "renderTextAreaValue", "(", "FacesContext", "facesContext", ",", "UIComponent", "uiComponent", ")", "throws", "IOException", "{", "ResponseWriter", "writer", "=", "facesContext", ".", "getResponseWriter", "(", ")", ";", "Object", "addNewLineAtStart"...
Subclasses can override the writing of the "text" value of the textarea
[ "Subclasses", "can", "override", "the", "writing", "of", "the", "text", "value", "of", "the", "textarea" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/renderkit/html/HtmlTextareaRendererBase.java#L162-L189
70,534
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/PriorityQueue.java
PriorityQueue.put
public final void put(long priority, Object value) { // if (tc.isEntryEnabled()) // SibTr.entry(tc, "put", new Object[] { new Long(priority), value}); PriorityQueueNode node = new PriorityQueueNode(priority,value); // Resize the array (double it) if we are out of space. if (size == elements.leng...
java
public final void put(long priority, Object value) { // if (tc.isEntryEnabled()) // SibTr.entry(tc, "put", new Object[] { new Long(priority), value}); PriorityQueueNode node = new PriorityQueueNode(priority,value); // Resize the array (double it) if we are out of space. if (size == elements.leng...
[ "public", "final", "void", "put", "(", "long", "priority", ",", "Object", "value", ")", "{", "// if (tc.isEntryEnabled())", "// SibTr.entry(tc, \"put\", new Object[] { new Long(priority), value});", "PriorityQueueNode", "node", "=", "new", "PriorityQueueNode", "(", "p...
Insert data with the given priority into the heap and heapify. @param priority the priority to associate with the new data. @param value the date to enqueue.
[ "Insert", "data", "with", "the", "given", "priority", "into", "the", "heap", "and", "heapify", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/PriorityQueue.java#L155-L177
70,535
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/PriorityQueue.java
PriorityQueue.moveUp
protected void moveUp(int pos) { // if (tc.isEntryEnabled()) // SibTr.entry(tc, "moveUp", new Integer(pos)); PriorityQueueNode node = elements[pos]; long priority = node.priority; while ((pos > 0) && (elements[parent(pos)].priority > priority)) { setElement(elements[parent(pos)], pos);...
java
protected void moveUp(int pos) { // if (tc.isEntryEnabled()) // SibTr.entry(tc, "moveUp", new Integer(pos)); PriorityQueueNode node = elements[pos]; long priority = node.priority; while ((pos > 0) && (elements[parent(pos)].priority > priority)) { setElement(elements[parent(pos)], pos);...
[ "protected", "void", "moveUp", "(", "int", "pos", ")", "{", "// if (tc.isEntryEnabled())", "// SibTr.entry(tc, \"moveUp\", new Integer(pos));", "PriorityQueueNode", "node", "=", "elements", "[", "pos", "]", ";", "long", "priority", "=", "node", ".", "priority", ...
Advance a node in the queue based on its priority. @param pos the index of the nod to advance.
[ "Advance", "a", "node", "in", "the", "queue", "based", "on", "its", "priority", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/PriorityQueue.java#L184-L202
70,536
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/PriorityQueue.java
PriorityQueue.getMin
public final Object getMin() throws NoSuchElementException { PriorityQueueNode max = null; if (size == 0) throw new NoSuchElementException(); max = elements[0]; setElement(elements[--size], 0); heapify(0); return max.value; }
java
public final Object getMin() throws NoSuchElementException { PriorityQueueNode max = null; if (size == 0) throw new NoSuchElementException(); max = elements[0]; setElement(elements[--size], 0); heapify(0); return max.value; }
[ "public", "final", "Object", "getMin", "(", ")", "throws", "NoSuchElementException", "{", "PriorityQueueNode", "max", "=", "null", ";", "if", "(", "size", "==", "0", ")", "throw", "new", "NoSuchElementException", "(", ")", ";", "max", "=", "elements", "[", ...
Dequeue the highest priority element from the queue. @return the highest priority object. @throws NoSuchElementException if the queue is empty.
[ "Dequeue", "the", "highest", "priority", "element", "from", "the", "queue", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/PriorityQueue.java#L210-L222
70,537
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/PriorityQueue.java
PriorityQueue.setElement
protected final void setElement(PriorityQueueNode node, int pos) { // if (tc.isEntryEnabled()) // SibTr.entry(tc, "setElement", new Object[] { node, new Integer(pos)}); elements[pos] = node; node.pos = pos; // if (tc.isEntryEnabled()) // SibTr.exit(tc, "setElement"); }
java
protected final void setElement(PriorityQueueNode node, int pos) { // if (tc.isEntryEnabled()) // SibTr.entry(tc, "setElement", new Object[] { node, new Integer(pos)}); elements[pos] = node; node.pos = pos; // if (tc.isEntryEnabled()) // SibTr.exit(tc, "setElement"); }
[ "protected", "final", "void", "setElement", "(", "PriorityQueueNode", "node", ",", "int", "pos", ")", "{", "// if (tc.isEntryEnabled())", "// SibTr.entry(tc, \"setElement\", new Object[] { node, new Integer(pos)});", "elements", "[", "pos", "]", "=", "node", ";", "n...
Set an element in the queue. @param node the element to place. @param pos the position of the element.
[ "Set", "an", "element", "in", "the", "queue", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/PriorityQueue.java#L230-L240
70,538
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/PriorityQueue.java
PriorityQueue.heapify
protected void heapify(int position) { // if (tc.isEntryEnabled()) // SibTr.entry(tc, "heapify", new Integer(position)); // Heapify the remaining heap int i = -1; int l; int r; int smallest = position; // Heapify routine from CMR. // This was done without recursion. while (sm...
java
protected void heapify(int position) { // if (tc.isEntryEnabled()) // SibTr.entry(tc, "heapify", new Integer(position)); // Heapify the remaining heap int i = -1; int l; int r; int smallest = position; // Heapify routine from CMR. // This was done without recursion. while (sm...
[ "protected", "void", "heapify", "(", "int", "position", ")", "{", "// if (tc.isEntryEnabled())", "// SibTr.entry(tc, \"heapify\", new Integer(position));", "// Heapify the remaining heap", "int", "i", "=", "-", "1", ";", "int", "l", ";", "int", "r", ";", "int", ...
Reheap the queue. @param position The position from which to start reheaping.
[ "Reheap", "the", "queue", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/utils/PriorityQueue.java#L247-L280
70,539
OpenLiberty/open-liberty
dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/JPAAccessor.java
JPAAccessor.setJPAComponent
public static void setJPAComponent(JPAComponent instance) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) Tr.entry(tc, "setJPAComponent", instance); jpaComponent = instance; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) Tr.exit(...
java
public static void setJPAComponent(JPAComponent instance) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) Tr.entry(tc, "setJPAComponent", instance); jpaComponent = instance; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) Tr.exit(...
[ "public", "static", "void", "setJPAComponent", "(", "JPAComponent", "instance", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"setJPACompon...
Return the default JPAComponent object in the application server.
[ "Return", "the", "default", "JPAComponent", "object", "in", "the", "application", "server", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/JPAAccessor.java#L37-L46
70,540
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/CompositeTagDecorator.java
CompositeTagDecorator.decorate
public Tag decorate(Tag tag) { Tag t = null; for (int i = 0; i < this.decorators.length; i++) { t = this.decorators[i].decorate(tag); if (t != null) { return t; } } return tag; }
java
public Tag decorate(Tag tag) { Tag t = null; for (int i = 0; i < this.decorators.length; i++) { t = this.decorators[i].decorate(tag); if (t != null) { return t; } } return tag; }
[ "public", "Tag", "decorate", "(", "Tag", "tag", ")", "{", "Tag", "t", "=", "null", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "this", ".", "decorators", ".", "length", ";", "i", "++", ")", "{", "t", "=", "this", ".", "decorators", ...
Uses the chain of responsibility pattern to stop processing if any of the TagDecorators return a value other than null. @see javax.faces.view.facelets.TagDecorator#decorate(javax.faces.view.facelets.Tag)
[ "Uses", "the", "chain", "of", "responsibility", "pattern", "to", "stop", "processing", "if", "any", "of", "the", "TagDecorators", "return", "a", "value", "other", "than", "null", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/CompositeTagDecorator.java#L50-L62
70,541
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.config.1.1/src/com/ibm/ws/microprofile/config/impl/AbstractConfigBuilder.java
AbstractConfigBuilder.getConverters
protected PriorityConverterMap getConverters() { //the map to be returned PriorityConverterMap allConverters = new PriorityConverterMap(); //add the default converters if (addDefaultConvertersFlag()) { allConverters.addAll(getDefaultConverters()); } //add the...
java
protected PriorityConverterMap getConverters() { //the map to be returned PriorityConverterMap allConverters = new PriorityConverterMap(); //add the default converters if (addDefaultConvertersFlag()) { allConverters.addAll(getDefaultConverters()); } //add the...
[ "protected", "PriorityConverterMap", "getConverters", "(", ")", "{", "//the map to be returned", "PriorityConverterMap", "allConverters", "=", "new", "PriorityConverterMap", "(", ")", ";", "//add the default converters", "if", "(", "addDefaultConvertersFlag", "(", ")", ")",...
Get the converters, default, discovered and user registered converters are included as appropriate. Call this method only from within a 'synchronized(this) block @return converters as a Map keyed on Type
[ "Get", "the", "converters", "default", "discovered", "and", "user", "registered", "converters", "are", "included", "as", "appropriate", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.config.1.1/src/com/ibm/ws/microprofile/config/impl/AbstractConfigBuilder.java#L226-L244
70,542
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaColocatingEndpointActivation.java
SibRaColocatingEndpointActivation.getMEsToCheck
JsMessagingEngine[] getMEsToCheck() { final String methodName = "getMEsToCheck"; if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, methodName); } JsMessagingEngine[] retVal = SibRaEngineComponent.getMessagingEngines (_...
java
JsMessagingEngine[] getMEsToCheck() { final String methodName = "getMEsToCheck"; if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, methodName); } JsMessagingEngine[] retVal = SibRaEngineComponent.getMessagingEngines (_...
[ "JsMessagingEngine", "[", "]", "getMEsToCheck", "(", ")", "{", "final", "String", "methodName", "=", "\"getMEsToCheck\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "TRACE", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr",...
All Messaging engines, including those that are not running, should be considered part of the list that the MDB should look at before trying a remote connection. @return The list of MEs that should be looked at by the RA to see if a connection can be made to them.
[ "All", "Messaging", "engines", "including", "those", "that", "are", "not", "running", "should", "be", "considered", "part", "of", "the", "list", "that", "the", "MDB", "should", "look", "at", "before", "trying", "a", "remote", "connection", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaColocatingEndpointActivation.java#L96-L111
70,543
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaColocatingEndpointActivation.java
SibRaColocatingEndpointActivation.removeStoppedMEs
JsMessagingEngine[] removeStoppedMEs (JsMessagingEngine[] MEList) { final String methodName = "removeStoppedMEs"; if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, methodName, MEList); } JsMessagingEngine[] startedMEs =...
java
JsMessagingEngine[] removeStoppedMEs (JsMessagingEngine[] MEList) { final String methodName = "removeStoppedMEs"; if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, methodName, MEList); } JsMessagingEngine[] startedMEs =...
[ "JsMessagingEngine", "[", "]", "removeStoppedMEs", "(", "JsMessagingEngine", "[", "]", "MEList", ")", "{", "final", "String", "methodName", "=", "\"removeStoppedMEs\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "TRACE", ".", "...
This method will remove non running MEs from the supplied array of MEs @param MEList The list of MEs @return A new array of MEs which only contain the running MEs from the supplied Array.
[ "This", "method", "will", "remove", "non", "running", "MEs", "from", "the", "supplied", "array", "of", "MEs" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaColocatingEndpointActivation.java#L118-L145
70,544
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaColocatingEndpointActivation.java
SibRaColocatingEndpointActivation.messagingEngineDestroyed
public void messagingEngineDestroyed(JsMessagingEngine messagingEngine) { final String methodName = "messagingEngineDestroyed"; if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, methodName, messagingEngine); } /* ...
java
public void messagingEngineDestroyed(JsMessagingEngine messagingEngine) { final String methodName = "messagingEngineDestroyed"; if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, methodName, messagingEngine); } /* ...
[ "public", "void", "messagingEngineDestroyed", "(", "JsMessagingEngine", "messagingEngine", ")", "{", "final", "String", "methodName", "=", "\"messagingEngineDestroyed\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "TRACE", ".", "isEn...
If a messaging engine is destroyed and there are now no local messaging engines on the server, then kick off a check to see if we can connect to one.
[ "If", "a", "messaging", "engine", "is", "destroyed", "and", "there", "are", "now", "no", "local", "messaging", "engines", "on", "the", "server", "then", "kick", "off", "a", "check", "to", "see", "if", "we", "can", "connect", "to", "one", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaColocatingEndpointActivation.java#L151-L198
70,545
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/impl/ServerInstanceLogRecordListImpl.java
ServerInstanceLogRecordListImpl.getCache
public RemoteListCache getCache() { RemoteRepositoryCache logCache = getLogResult()==null ? null : getLogResult().getCache(); RemoteRepositoryCache traceCache = getTraceResult()==null ? null : getTraceResult().getCache(); return switched ? new RemoteListCacheImpl(traceCache, logCache) : new RemoteListCacheImpl(lo...
java
public RemoteListCache getCache() { RemoteRepositoryCache logCache = getLogResult()==null ? null : getLogResult().getCache(); RemoteRepositoryCache traceCache = getTraceResult()==null ? null : getTraceResult().getCache(); return switched ? new RemoteListCacheImpl(traceCache, logCache) : new RemoteListCacheImpl(lo...
[ "public", "RemoteListCache", "getCache", "(", ")", "{", "RemoteRepositoryCache", "logCache", "=", "getLogResult", "(", ")", "==", "null", "?", "null", ":", "getLogResult", "(", ")", ".", "getCache", "(", ")", ";", "RemoteRepositoryCache", "traceCache", "=", "g...
returns this result cache usable for remote transport @return cache instance used in remote log reading
[ "returns", "this", "result", "cache", "usable", "for", "remote", "transport" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/impl/ServerInstanceLogRecordListImpl.java#L75-L79
70,546
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/impl/ServerInstanceLogRecordListImpl.java
ServerInstanceLogRecordListImpl.setCache
public void setCache(RemoteListCache cache) { if (cache instanceof RemoteListCacheImpl) { RemoteListCacheImpl cacheImpl = (RemoteListCacheImpl)cache; if (getLogResult() != null) { RemoteRepositoryCache logCache = switched ? cacheImpl.getTraceCache() : cacheImpl.getLogCache(); if (logCache != null) { ...
java
public void setCache(RemoteListCache cache) { if (cache instanceof RemoteListCacheImpl) { RemoteListCacheImpl cacheImpl = (RemoteListCacheImpl)cache; if (getLogResult() != null) { RemoteRepositoryCache logCache = switched ? cacheImpl.getTraceCache() : cacheImpl.getLogCache(); if (logCache != null) { ...
[ "public", "void", "setCache", "(", "RemoteListCache", "cache", ")", "{", "if", "(", "cache", "instanceof", "RemoteListCacheImpl", ")", "{", "RemoteListCacheImpl", "cacheImpl", "=", "(", "RemoteListCacheImpl", ")", "cache", ";", "if", "(", "getLogResult", "(", ")...
sets cache for this result based on the provided one @param cache cache instance received in a remote call
[ "sets", "cache", "for", "this", "result", "based", "on", "the", "provided", "one" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/impl/ServerInstanceLogRecordListImpl.java#L86-L104
70,547
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/impl/ServerInstanceLogRecordListImpl.java
ServerInstanceLogRecordListImpl.getNewIterator
protected Iterator<RepositoryLogRecord> getNewIterator(int offset, int length) { OnePidRecordListImpl logResult = getLogResult(); OnePidRecordListImpl traceResult = getTraceResult(); if (logResult == null && traceResult == null) { return EMPTY_ITERATOR; } else if (traceResult == null) { return logResult.g...
java
protected Iterator<RepositoryLogRecord> getNewIterator(int offset, int length) { OnePidRecordListImpl logResult = getLogResult(); OnePidRecordListImpl traceResult = getTraceResult(); if (logResult == null && traceResult == null) { return EMPTY_ITERATOR; } else if (traceResult == null) { return logResult.g...
[ "protected", "Iterator", "<", "RepositoryLogRecord", ">", "getNewIterator", "(", "int", "offset", ",", "int", "length", ")", "{", "OnePidRecordListImpl", "logResult", "=", "getLogResult", "(", ")", ";", "OnePidRecordListImpl", "traceResult", "=", "getTraceResult", "...
Creates new OnePidRecordIterator returning records in the range. @param offset the number of records skipped from the beginning of the list. @param length the number of records to return. @return OnePidRecordIterator instance.
[ "Creates", "new", "OnePidRecordIterator", "returning", "records", "in", "the", "range", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.hpel/src/com/ibm/ws/logging/hpel/impl/ServerInstanceLogRecordListImpl.java#L221-L235
70,548
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/client/injection/WebServiceRefProcessor.java
WebServiceRefProcessor.processXML
@Override public void processXML() throws InjectionException { @SuppressWarnings("unchecked") List<ServiceRef> serviceRefs = (List<ServiceRef>) ivNameSpaceConfig.getWebServiceRefs(); // no need to do any work if there are no service refs in the XML if (serviceRefs == null || servic...
java
@Override public void processXML() throws InjectionException { @SuppressWarnings("unchecked") List<ServiceRef> serviceRefs = (List<ServiceRef>) ivNameSpaceConfig.getWebServiceRefs(); // no need to do any work if there are no service refs in the XML if (serviceRefs == null || servic...
[ "@", "Override", "public", "void", "processXML", "(", ")", "throws", "InjectionException", "{", "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "List", "<", "ServiceRef", ">", "serviceRefs", "=", "(", "List", "<", "ServiceRef", ">", ")", "ivNameSpaceConfig",...
This method will process any service-ref elements in the client's deployment descriptor.
[ "This", "method", "will", "process", "any", "service", "-", "ref", "elements", "in", "the", "client", "s", "deployment", "descriptor", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/client/injection/WebServiceRefProcessor.java#L81-L126
70,549
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/client/injection/WebServiceRefProcessor.java
WebServiceRefProcessor.resolve
@Override public void resolve(InjectionBinding<WebServiceRef> binding) throws InjectionException { // This was a JAX-WS service reference, we need to do some setup for // our object factory, and we also need to make sure we store the // metadata away in the appropriate location. We...
java
@Override public void resolve(InjectionBinding<WebServiceRef> binding) throws InjectionException { // This was a JAX-WS service reference, we need to do some setup for // our object factory, and we also need to make sure we store the // metadata away in the appropriate location. We...
[ "@", "Override", "public", "void", "resolve", "(", "InjectionBinding", "<", "WebServiceRef", ">", "binding", ")", "throws", "InjectionException", "{", "// This was a JAX-WS service reference, we need to do some setup for", "// our object factory, and we also need to make sure we stor...
This method will resolve the InjectionBinding it is given. This involves storing the correct information within the binding instance so that later on the injection can occur. It also enables JNDI lookups to occur on the resource that is indicated in the binding.
[ "This", "method", "will", "resolve", "the", "InjectionBinding", "it", "is", "given", ".", "This", "involves", "storing", "the", "correct", "information", "within", "the", "binding", "instance", "so", "that", "later", "on", "the", "injection", "can", "occur", "...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.clientcontainer/src/com/ibm/ws/jaxws/client/injection/WebServiceRefProcessor.java#L236-L300
70,550
OpenLiberty/open-liberty
dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java
SelfExtractor.checkResponseCode
private static void checkResponseCode(URLConnection uc) throws IOException { if (uc instanceof HttpURLConnection) { HttpURLConnection httpConnection = (HttpURLConnection) uc; int rc = httpConnection.getResponseCode(); if (rc != HttpURLConnection.HTTP_OK && rc != HttpURLConnec...
java
private static void checkResponseCode(URLConnection uc) throws IOException { if (uc instanceof HttpURLConnection) { HttpURLConnection httpConnection = (HttpURLConnection) uc; int rc = httpConnection.getResponseCode(); if (rc != HttpURLConnection.HTTP_OK && rc != HttpURLConnec...
[ "private", "static", "void", "checkResponseCode", "(", "URLConnection", "uc", ")", "throws", "IOException", "{", "if", "(", "uc", "instanceof", "HttpURLConnection", ")", "{", "HttpURLConnection", "httpConnection", "=", "(", "HttpURLConnection", ")", "uc", ";", "in...
If URLConnection is an HTTP connection, check that the response code is HTTP_OK @param uc the URLConnection @throws IOException if the URLConnection is an HttpURLConnection and the response code is not HTTP_OK (200) or HTTP_MOVED_TEMP (302)
[ "If", "URLConnection", "is", "an", "HTTP", "connection", "check", "that", "the", "response", "code", "is", "HTTP_OK" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java#L851-L859
70,551
OpenLiberty/open-liberty
dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java
SelfExtractor.getCommonRootDir
private String getCommonRootDir(String filePath, HashMap validFilePaths) { for (Iterator it = validFilePaths.entrySet().iterator(); it.hasNext();) { Map.Entry entry = (Map.Entry) it.next(); String path = (String) ((entry).getKey()); if (filePath.startsWith(path)) ...
java
private String getCommonRootDir(String filePath, HashMap validFilePaths) { for (Iterator it = validFilePaths.entrySet().iterator(); it.hasNext();) { Map.Entry entry = (Map.Entry) it.next(); String path = (String) ((entry).getKey()); if (filePath.startsWith(path)) ...
[ "private", "String", "getCommonRootDir", "(", "String", "filePath", ",", "HashMap", "validFilePaths", ")", "{", "for", "(", "Iterator", "it", "=", "validFilePaths", ".", "entrySet", "(", ")", ".", "iterator", "(", ")", ";", "it", ".", "hasNext", "(", ")", ...
Retrieves the directory in common between the specified path and the archive root directory. If the file path cannot be found among the valid paths then null is returned. @param filePath Path to the file to check @param validFilePaths A list of valid file paths and their common directories with the root @return ...
[ "Retrieves", "the", "directory", "in", "common", "between", "the", "specified", "path", "and", "the", "archive", "root", "directory", ".", "If", "the", "file", "path", "cannot", "be", "found", "among", "the", "valid", "paths", "then", "null", "is", "returned...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java#L982-L991
70,552
OpenLiberty/open-liberty
dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java
SelfExtractor.getExtensionInstallDirs
private ArrayList<String> getExtensionInstallDirs() throws IOException { String extensiondir = root + "etc/extensions/"; ArrayList<String> extensionDirs = new ArrayList<String>(); for (Entry entry : container) { if (entry.getName().startsWith(extensiondir) && entry.getName().endsWit...
java
private ArrayList<String> getExtensionInstallDirs() throws IOException { String extensiondir = root + "etc/extensions/"; ArrayList<String> extensionDirs = new ArrayList<String>(); for (Entry entry : container) { if (entry.getName().startsWith(extensiondir) && entry.getName().endsWit...
[ "private", "ArrayList", "<", "String", ">", "getExtensionInstallDirs", "(", ")", "throws", "IOException", "{", "String", "extensiondir", "=", "root", "+", "\"etc/extensions/\"", ";", "ArrayList", "<", "String", ">", "extensionDirs", "=", "new", "ArrayList", "<", ...
Retrieves all the extension products' install directories as indicated their properties file. @return List of extension products' install directories. @throws IOException
[ "Retrieves", "all", "the", "extension", "products", "install", "directories", "as", "indicated", "their", "properties", "file", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java#L999-L1016
70,553
OpenLiberty/open-liberty
dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java
SelfExtractor.printNeededIFixes
public static void printNeededIFixes(File outputDir, List extractedFiles) { try { // To get the ifix information we run the productInfo validate command which as well as // listing the state of the runtime, also displays any ifixes that need to be reapplied. Runtime runtime =...
java
public static void printNeededIFixes(File outputDir, List extractedFiles) { try { // To get the ifix information we run the productInfo validate command which as well as // listing the state of the runtime, also displays any ifixes that need to be reapplied. Runtime runtime =...
[ "public", "static", "void", "printNeededIFixes", "(", "File", "outputDir", ",", "List", "extractedFiles", ")", "{", "try", "{", "// To get the ifix information we run the productInfo validate command which as well as", "// listing the state of the runtime, also displays any ifixes that...
If necessary this will print a message saying that the installed files mean that an iFix needs to be re-installed. @param outputDir The directory where the files were extracted to (typically the "wlp" directory) @param extractedFiles A list of Strings which are file paths within the directory
[ "If", "necessary", "this", "will", "print", "a", "message", "saying", "that", "the", "installed", "files", "mean", "that", "an", "iFix", "needs", "to", "be", "re", "-", "installed", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java#L1143-L1166
70,554
OpenLiberty/open-liberty
dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java
SelfExtractor.listMissingCoreFeatures
protected Set listMissingCoreFeatures(File outputDir) throws SelfExtractorFileException { Set missingFeatures = new HashSet(); // If we have a Require Feature manifest header, we need to check that the runtime we're extracting into contains the // required features. If the customer has minifie...
java
protected Set listMissingCoreFeatures(File outputDir) throws SelfExtractorFileException { Set missingFeatures = new HashSet(); // If we have a Require Feature manifest header, we need to check that the runtime we're extracting into contains the // required features. If the customer has minifie...
[ "protected", "Set", "listMissingCoreFeatures", "(", "File", "outputDir", ")", "throws", "SelfExtractorFileException", "{", "Set", "missingFeatures", "=", "new", "HashSet", "(", ")", ";", "// If we have a Require Feature manifest header, we need to check that the runtime we're ext...
This method checks that all the core features defined in the the manifest header exist in the server runtime we're extracting into, and returns any features that don't. If the coreFeatures header is blank it means we're not an extended jar. @return A Set of Strings containing the features that are missing from the ins...
[ "This", "method", "checks", "that", "all", "the", "core", "features", "defined", "in", "the", "the", "manifest", "header", "exist", "in", "the", "server", "runtime", "we", "re", "extracting", "into", "and", "returns", "any", "features", "that", "don", "t", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java#L1211-L1266
70,555
OpenLiberty/open-liberty
dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java
SelfExtractor.argIsOption
protected static boolean argIsOption(String arg, String option) { return arg.equalsIgnoreCase(option) || arg.equalsIgnoreCase('-' + option); }
java
protected static boolean argIsOption(String arg, String option) { return arg.equalsIgnoreCase(option) || arg.equalsIgnoreCase('-' + option); }
[ "protected", "static", "boolean", "argIsOption", "(", "String", "arg", ",", "String", "option", ")", "{", "return", "arg", ".", "equalsIgnoreCase", "(", "option", ")", "||", "arg", ".", "equalsIgnoreCase", "(", "'", "'", "+", "option", ")", ";", "}" ]
Test if the argument is an option. Allow single or double leading -, be case insensitive. @param arg User specified argument @param option Option for test/comparison @return true if the argument matches the option
[ "Test", "if", "the", "argument", "is", "an", "option", ".", "Allow", "single", "or", "double", "leading", "-", "be", "case", "insensitive", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java#L1334-L1336
70,556
OpenLiberty/open-liberty
dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java
SelfExtractor.displayCommandLineHelp
protected static void displayCommandLineHelp(SelfExtractor extractor) { // This method takes a SelfExtractor in case we want to tailor the help to the current archive // Get the name of the JAR file to display in the command syntax"); String jarName = System.getProperty("sun.java.command", "wlp-...
java
protected static void displayCommandLineHelp(SelfExtractor extractor) { // This method takes a SelfExtractor in case we want to tailor the help to the current archive // Get the name of the JAR file to display in the command syntax"); String jarName = System.getProperty("sun.java.command", "wlp-...
[ "protected", "static", "void", "displayCommandLineHelp", "(", "SelfExtractor", "extractor", ")", "{", "// This method takes a SelfExtractor in case we want to tailor the help to the current archive", "// Get the name of the JAR file to display in the command syntax\");", "String", "jarName",...
Display command line usage.
[ "Display", "command", "line", "usage", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java#L1341-L1364
70,557
OpenLiberty/open-liberty
dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java
SelfExtractor.handleLicenseAcceptance
public void handleLicenseAcceptance(LicenseProvider licenseProvider, boolean acceptLicense) { // // Display license requirement // SelfExtract.wordWrappedOut(SelfExtract.format("licenseStatement", new Object[] { licenseProvider.getProgramName(), licenseProvider.getLicenseName() })); ...
java
public void handleLicenseAcceptance(LicenseProvider licenseProvider, boolean acceptLicense) { // // Display license requirement // SelfExtract.wordWrappedOut(SelfExtract.format("licenseStatement", new Object[] { licenseProvider.getProgramName(), licenseProvider.getLicenseName() })); ...
[ "public", "void", "handleLicenseAcceptance", "(", "LicenseProvider", "licenseProvider", ",", "boolean", "acceptLicense", ")", "{", "//", "// Display license requirement", "//", "SelfExtract", ".", "wordWrappedOut", "(", "SelfExtract", ".", "format", "(", "\"licenseStateme...
This method will print out information about the license and if necessary prompt the user to accept it. @param licenseProvider The license provider to use to get information about the license from the archive @param acceptLicense <code>true</code> if the license should be automatically accepted
[ "This", "method", "will", "print", "out", "information", "about", "the", "license", "and", "if", "necessary", "prompt", "the", "user", "to", "accept", "it", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java#L1390-L1407
70,558
OpenLiberty/open-liberty
dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java
SelfExtractor.obtainLicenseAgreement
private static boolean obtainLicenseAgreement(LicenseProvider licenseProvider) { // Prompt for word-wrapped display of license agreement & information boolean view; SelfExtract.wordWrappedOut(SelfExtract.format("showAgreement", "--viewLicenseAgreement")); view = SelfExtract.getResponse(...
java
private static boolean obtainLicenseAgreement(LicenseProvider licenseProvider) { // Prompt for word-wrapped display of license agreement & information boolean view; SelfExtract.wordWrappedOut(SelfExtract.format("showAgreement", "--viewLicenseAgreement")); view = SelfExtract.getResponse(...
[ "private", "static", "boolean", "obtainLicenseAgreement", "(", "LicenseProvider", "licenseProvider", ")", "{", "// Prompt for word-wrapped display of license agreement & information", "boolean", "view", ";", "SelfExtract", ".", "wordWrappedOut", "(", "SelfExtract", ".", "format...
Display and obtain agreement for the license terms
[ "Display", "and", "obtain", "agreement", "for", "the", "license", "terms" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java#L1412-L1439
70,559
OpenLiberty/open-liberty
dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java
SelfExtractor.close
public String close() { if (instance == null) { return null; } try { container.close(); instance = null; } catch (IOException e) { return e.getMessage(); } return null; }
java
public String close() { if (instance == null) { return null; } try { container.close(); instance = null; } catch (IOException e) { return e.getMessage(); } return null; }
[ "public", "String", "close", "(", ")", "{", "if", "(", "instance", "==", "null", ")", "{", "return", "null", ";", "}", "try", "{", "container", ".", "close", "(", ")", ";", "instance", "=", "null", ";", "}", "catch", "(", "IOException", "e", ")", ...
Release the jar file and null instance so that it can be deleted
[ "Release", "the", "jar", "file", "and", "null", "instance", "so", "that", "it", "can", "be", "deleted" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/wlp.lib.extract/src/wlp/lib/extract/SelfExtractor.java#L1463-L1474
70,560
OpenLiberty/open-liberty
dev/com.ibm.ws.event/src/com/ibm/ws/event/internal/EventLocalMap.java
EventLocalMap.clear
public void clear() { // TODO not currently used since EventImpl itself doesn't have a clear this.parentMap = null; if (null != this.values) { for (int i = 0; i < this.values.length; i++) { this.values[i] = null; } this.values = null; }...
java
public void clear() { // TODO not currently used since EventImpl itself doesn't have a clear this.parentMap = null; if (null != this.values) { for (int i = 0; i < this.values.length; i++) { this.values[i] = null; } this.values = null; }...
[ "public", "void", "clear", "(", ")", "{", "// TODO not currently used since EventImpl itself doesn't have a clear", "this", ".", "parentMap", "=", "null", ";", "if", "(", "null", "!=", "this", ".", "values", ")", "{", "for", "(", "int", "i", "=", "0", ";", "...
Clear all content from this map. This will disconnect from any parent map as well.
[ "Clear", "all", "content", "from", "this", "map", ".", "This", "will", "disconnect", "from", "any", "parent", "map", "as", "well", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.event/src/com/ibm/ws/event/internal/EventLocalMap.java#L58-L67
70,561
OpenLiberty/open-liberty
dev/com.ibm.ws.event/src/com/ibm/ws/event/internal/EventLocalMap.java
EventLocalMap.get
public V get(String name) { V rc = null; K key = getKey(name); if (null != key) { rc = get(key); } return rc; }
java
public V get(String name) { V rc = null; K key = getKey(name); if (null != key) { rc = get(key); } return rc; }
[ "public", "V", "get", "(", "String", "name", ")", "{", "V", "rc", "=", "null", ";", "K", "key", "=", "getKey", "(", "name", ")", ";", "if", "(", "null", "!=", "key", ")", "{", "rc", "=", "get", "(", "key", ")", ";", "}", "return", "rc", ";"...
Query the possible value associated with a named EventLocal. A null is returned if the name does not match any stored value or if that stored value is explicitly null. @param name @return V
[ "Query", "the", "possible", "value", "associated", "with", "a", "named", "EventLocal", ".", "A", "null", "is", "returned", "if", "the", "name", "does", "not", "match", "any", "stored", "value", "or", "if", "that", "stored", "value", "is", "explicitly", "nu...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.event/src/com/ibm/ws/event/internal/EventLocalMap.java#L77-L84
70,562
OpenLiberty/open-liberty
dev/com.ibm.ws.event/src/com/ibm/ws/event/internal/EventLocalMap.java
EventLocalMap.getKey
private K getKey(String name) { if (null != this.keys) { // we have locally stored values final K[] temp = this.keys; K key; for (int i = 0; i < temp.length; i++) { key = temp[i]; if (null != key && name.equals(key.toString())) { ...
java
private K getKey(String name) { if (null != this.keys) { // we have locally stored values final K[] temp = this.keys; K key; for (int i = 0; i < temp.length; i++) { key = temp[i]; if (null != key && name.equals(key.toString())) { ...
[ "private", "K", "getKey", "(", "String", "name", ")", "{", "if", "(", "null", "!=", "this", ".", "keys", ")", "{", "// we have locally stored values", "final", "K", "[", "]", "temp", "=", "this", ".", "keys", ";", "K", "key", ";", "for", "(", "int", ...
Look for the key with the provided name. This returns null if no match is found. @param name @return K
[ "Look", "for", "the", "key", "with", "the", "provided", "name", ".", "This", "returns", "null", "if", "no", "match", "is", "found", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.event/src/com/ibm/ws/event/internal/EventLocalMap.java#L93-L110
70,563
OpenLiberty/open-liberty
dev/com.ibm.ws.event/src/com/ibm/ws/event/internal/EventLocalMap.java
EventLocalMap.get
public V get(K key) { return get(key.hashCode() / SIZE_ROW, key.hashCode() % SIZE_ROW); }
java
public V get(K key) { return get(key.hashCode() / SIZE_ROW, key.hashCode() % SIZE_ROW); }
[ "public", "V", "get", "(", "K", "key", ")", "{", "return", "get", "(", "key", ".", "hashCode", "(", ")", "/", "SIZE_ROW", ",", "key", ".", "hashCode", "(", ")", "%", "SIZE_ROW", ")", ";", "}" ]
Query the value for the provided key. @param key @return V
[ "Query", "the", "value", "for", "the", "provided", "key", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.event/src/com/ibm/ws/event/internal/EventLocalMap.java#L118-L120
70,564
OpenLiberty/open-liberty
dev/com.ibm.ws.event/src/com/ibm/ws/event/internal/EventLocalMap.java
EventLocalMap.put
public void put(K key, V value) { final int hash = key.hashCode(); final int row = hash / SIZE_ROW; final int column = hash & (SIZE_ROW - 1); // DON'T use the % operator as we // need the result to be ...
java
public void put(K key, V value) { final int hash = key.hashCode(); final int row = hash / SIZE_ROW; final int column = hash & (SIZE_ROW - 1); // DON'T use the % operator as we // need the result to be ...
[ "public", "void", "put", "(", "K", "key", ",", "V", "value", ")", "{", "final", "int", "hash", "=", "key", ".", "hashCode", "(", ")", ";", "final", "int", "row", "=", "hash", "/", "SIZE_ROW", ";", "final", "int", "column", "=", "hash", "&", "(", ...
Put a key and value pair into the storage map. @param key @param value
[ "Put", "a", "key", "and", "value", "pair", "into", "the", "storage", "map", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.event/src/com/ibm/ws/event/internal/EventLocalMap.java#L147-L158
70,565
OpenLiberty/open-liberty
dev/com.ibm.ws.event/src/com/ibm/ws/event/internal/EventLocalMap.java
EventLocalMap.remove
public V remove(K key) { final int hash = key.hashCode(); final int row = hash / SIZE_ROW; final int column = hash & (SIZE_ROW - 1); // DON'T use the % operator as we // need the result to be // n...
java
public V remove(K key) { final int hash = key.hashCode(); final int row = hash / SIZE_ROW; final int column = hash & (SIZE_ROW - 1); // DON'T use the % operator as we // need the result to be // n...
[ "public", "V", "remove", "(", "K", "key", ")", "{", "final", "int", "hash", "=", "key", ".", "hashCode", "(", ")", ";", "final", "int", "row", "=", "hash", "/", "SIZE_ROW", ";", "final", "int", "column", "=", "hash", "&", "(", "SIZE_ROW", "-", "1...
Remove a key from the storage. @param key @return V, existing object, null if none present
[ "Remove", "a", "key", "from", "the", "storage", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.event/src/com/ibm/ws/event/internal/EventLocalMap.java#L166-L179
70,566
OpenLiberty/open-liberty
dev/com.ibm.ws.event/src/com/ibm/ws/event/internal/EventLocalMap.java
EventLocalMap.validateKey
@SuppressWarnings("unchecked") private void validateKey(int index) { final int size = (index + 1); if (null == this.keys) { // nothing has been created yet this.keys = (K[]) new Object[size]; } else if (index >= this.keys.length) { // this row puts us beyo...
java
@SuppressWarnings("unchecked") private void validateKey(int index) { final int size = (index + 1); if (null == this.keys) { // nothing has been created yet this.keys = (K[]) new Object[size]; } else if (index >= this.keys.length) { // this row puts us beyo...
[ "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "private", "void", "validateKey", "(", "int", "index", ")", "{", "final", "int", "size", "=", "(", "index", "+", "1", ")", ";", "if", "(", "null", "==", "this", ".", "keys", ")", "{", "// nothing has ...
Ensure that we have space in the local key array for the target index. @param index
[ "Ensure", "that", "we", "have", "space", "in", "the", "local", "key", "array", "for", "the", "target", "index", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.event/src/com/ibm/ws/event/internal/EventLocalMap.java#L186-L198
70,567
OpenLiberty/open-liberty
dev/com.ibm.ws.event/src/com/ibm/ws/event/internal/EventLocalMap.java
EventLocalMap.validateTable
@SuppressWarnings("unchecked") private void validateTable(int targetRow) { // TODO pooling of the arrays? if (null == this.values) { // nothing has been created yet int size = (targetRow + 1); if (SIZE_TABLE > size) { size = SIZE_TABLE; ...
java
@SuppressWarnings("unchecked") private void validateTable(int targetRow) { // TODO pooling of the arrays? if (null == this.values) { // nothing has been created yet int size = (targetRow + 1); if (SIZE_TABLE > size) { size = SIZE_TABLE; ...
[ "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "private", "void", "validateTable", "(", "int", "targetRow", ")", "{", "// TODO pooling of the arrays?", "if", "(", "null", "==", "this", ".", "values", ")", "{", "// nothing has been created yet", "int", "size", ...
Validate that the storage table contains the provided row. This will allocate new space if that is required. @param targetRow
[ "Validate", "that", "the", "storage", "table", "contains", "the", "provided", "row", ".", "This", "will", "allocate", "new", "space", "if", "that", "is", "required", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.event/src/com/ibm/ws/event/internal/EventLocalMap.java#L206-L231
70,568
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/runtime/impl/AttachedRemoteSubscriberControl.java
AttachedRemoteSubscriberControl.getRemoteEngineUuid
public String getRemoteEngineUuid() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getRemoteEngineUuid"); String engineUUID = _anycastInputHandler.getLocalisationUuid().toString(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
java
public String getRemoteEngineUuid() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getRemoteEngineUuid"); String engineUUID = _anycastInputHandler.getLocalisationUuid().toString(); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
[ "public", "String", "getRemoteEngineUuid", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"getRemoteEngineUuid\"", ")", ";", "String...
Return the remote engine uuid
[ "Return", "the", "remote", "engine", "uuid" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/runtime/impl/AttachedRemoteSubscriberControl.java#L112-L122
70,569
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/context/RequestViewMetadata.java
RequestViewMetadata.cloneInstance
public RequestViewMetadata cloneInstance() { RequestViewMetadata rvm = new RequestViewMetadata(); rvm.initialProcessedClasses = new HashMap<Class<?>, Boolean>( this.initialProcessedClasses != null ? this.initialProcessedClasses : this.processedClasses); i...
java
public RequestViewMetadata cloneInstance() { RequestViewMetadata rvm = new RequestViewMetadata(); rvm.initialProcessedClasses = new HashMap<Class<?>, Boolean>( this.initialProcessedClasses != null ? this.initialProcessedClasses : this.processedClasses); i...
[ "public", "RequestViewMetadata", "cloneInstance", "(", ")", "{", "RequestViewMetadata", "rvm", "=", "new", "RequestViewMetadata", "(", ")", ";", "rvm", ".", "initialProcessedClasses", "=", "new", "HashMap", "<", "Class", "<", "?", ">", ",", "Boolean", ">", "("...
Clone the current request view metadata into another instance, so it can be used in a view. @return
[ "Clone", "the", "current", "request", "view", "metadata", "into", "another", "instance", "so", "it", "can", "be", "used", "in", "a", "view", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/context/RequestViewMetadata.java#L59-L76
70,570
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSIndirectBoxedListImpl.java
JSIndirectBoxedListImpl.get
public Object get(int accessor) { try { return getValue(accessor); } catch (JMFException ex) { FFDCFilter.processException(ex, "get", "134", this); return null; } }
java
public Object get(int accessor) { try { return getValue(accessor); } catch (JMFException ex) { FFDCFilter.processException(ex, "get", "134", this); return null; } }
[ "public", "Object", "get", "(", "int", "accessor", ")", "{", "try", "{", "return", "getValue", "(", "accessor", ")", ";", "}", "catch", "(", "JMFException", "ex", ")", "{", "FFDCFilter", ".", "processException", "(", "ex", ",", "\"get\"", ",", "\"134\"",...
Other overridden methods.
[ "Other", "overridden", "methods", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSIndirectBoxedListImpl.java#L106-L113
70,571
OpenLiberty/open-liberty
dev/com.ibm.ws.context/src/com/ibm/ws/context/service/serializable/ThreadContextDescriptorImpl.java
ThreadContextDescriptorImpl.containsAll
@Trivial private static final boolean containsAll(LinkedHashMap<ThreadContextProvider, ThreadContext> contextProviders, List<ThreadContextProvider> prereqs) { for (ThreadContextProvider prereq : prereqs) if (!contextProviders.containsKey(prereq)) return false; return true...
java
@Trivial private static final boolean containsAll(LinkedHashMap<ThreadContextProvider, ThreadContext> contextProviders, List<ThreadContextProvider> prereqs) { for (ThreadContextProvider prereq : prereqs) if (!contextProviders.containsKey(prereq)) return false; return true...
[ "@", "Trivial", "private", "static", "final", "boolean", "containsAll", "(", "LinkedHashMap", "<", "ThreadContextProvider", ",", "ThreadContext", ">", "contextProviders", ",", "List", "<", "ThreadContextProvider", ">", "prereqs", ")", "{", "for", "(", "ThreadContext...
Utility method that indicates whether or not a list of thread context providers contains all of the specified prerequisites. @param contextProviders list of thread context providers (actually a map, but the keys are used as a list) @param prereqs prerequisite thread context providers @return true if all prerequisites ...
[ "Utility", "method", "that", "indicates", "whether", "or", "not", "a", "list", "of", "thread", "context", "providers", "contains", "all", "of", "the", "specified", "prerequisites", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.context/src/com/ibm/ws/context/service/serializable/ThreadContextDescriptorImpl.java#L229-L235
70,572
OpenLiberty/open-liberty
dev/com.ibm.ws.context/src/com/ibm/ws/context/service/serializable/ThreadContextDescriptorImpl.java
ThreadContextDescriptorImpl.notAvailable
public static void notAvailable(String jeeName, String taskName) { String message; int modSepIndex = jeeName.indexOf('#'); if (modSepIndex == -1) { message = Tr.formatMessage(tc, "CWWKC1011.app.unavailable", taskName, jeeName); } else { String application = jeeNam...
java
public static void notAvailable(String jeeName, String taskName) { String message; int modSepIndex = jeeName.indexOf('#'); if (modSepIndex == -1) { message = Tr.formatMessage(tc, "CWWKC1011.app.unavailable", taskName, jeeName); } else { String application = jeeNam...
[ "public", "static", "void", "notAvailable", "(", "String", "jeeName", ",", "String", "taskName", ")", "{", "String", "message", ";", "int", "modSepIndex", "=", "jeeName", ".", "indexOf", "(", "'", "'", ")", ";", "if", "(", "modSepIndex", "==", "-", "1", ...
Raises IllegalStateException because the application or application component is unavailable. @param jeeName The metadata identifier, which is the JEE name (Application/Module/Component name with parts separated by hash signs). For now, we'll parse the string and issue the appropriate message. This may not be appropri...
[ "Raises", "IllegalStateException", "because", "the", "application", "or", "application", "component", "is", "unavailable", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.context/src/com/ibm/ws/context/service/serializable/ThreadContextDescriptorImpl.java#L251-L267
70,573
OpenLiberty/open-liberty
dev/com.ibm.ws.context/src/com/ibm/ws/context/service/serializable/ThreadContextDescriptorImpl.java
ThreadContextDescriptorImpl.serialize
@Override public @Sensitive byte[] serialize() throws IOException { // Captured thread context ByteArrayOutputStream bout = new ByteArrayOutputStream(); int size = threadContext.size(); byte[][] contextBytes = new byte[size][]; for (int i = 0; i < size; i++) { bou...
java
@Override public @Sensitive byte[] serialize() throws IOException { // Captured thread context ByteArrayOutputStream bout = new ByteArrayOutputStream(); int size = threadContext.size(); byte[][] contextBytes = new byte[size][]; for (int i = 0; i < size; i++) { bou...
[ "@", "Override", "public", "@", "Sensitive", "byte", "[", "]", "serialize", "(", ")", "throws", "IOException", "{", "// Captured thread context", "ByteArrayOutputStream", "bout", "=", "new", "ByteArrayOutputStream", "(", ")", ";", "int", "size", "=", "threadContex...
Serializes this thread context descriptor to bytes. @return serialized bytes representing the thread context descriptor. @throws IOException if a serialization error occurs.
[ "Serializes", "this", "thread", "context", "descriptor", "to", "bytes", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.context/src/com/ibm/ws/context/service/serializable/ThreadContextDescriptorImpl.java#L275-L316
70,574
OpenLiberty/open-liberty
dev/com.ibm.ws.org.apache.myfaces.2.3/src/org/apache/myfaces/cdi/view/ViewScopeContextImpl.java
ViewScopeContextImpl.isActive
public boolean isActive() { FacesContext facesContext = FacesContext.getCurrentInstance(); if (facesContext != null) { return facesContext.getViewRoot() != null; } else { // No FacesContext means no view scope active. return false; ...
java
public boolean isActive() { FacesContext facesContext = FacesContext.getCurrentInstance(); if (facesContext != null) { return facesContext.getViewRoot() != null; } else { // No FacesContext means no view scope active. return false; ...
[ "public", "boolean", "isActive", "(", ")", "{", "FacesContext", "facesContext", "=", "FacesContext", ".", "getCurrentInstance", "(", ")", ";", "if", "(", "facesContext", "!=", "null", ")", "{", "return", "facesContext", ".", "getViewRoot", "(", ")", "!=", "n...
The WindowContext is active once a current windowId is set for the current Thread. @return
[ "The", "WindowContext", "is", "active", "once", "a", "current", "windowId", "is", "set", "for", "the", "current", "Thread", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.myfaces.2.3/src/org/apache/myfaces/cdi/view/ViewScopeContextImpl.java#L125-L137
70,575
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.getSubscriberID
public String getSubscriberID() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "getSubscriberID"); SibTr.exit(this, tc, "getSubscriberID", subscriptionID); } return subscriptionID; }
java
public String getSubscriberID() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "getSubscriberID"); SibTr.exit(this, tc, "getSubscriberID", subscriptionID); } return subscriptionID; }
[ "public", "String", "getSubscriberID", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getSubscriberID\"", ")", ...
Returns the subscriberID. @return String
[ "Returns", "the", "subscriberID", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L277-L286
70,576
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.getTopics
public String[] getTopics() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "getTopics"); SibTr.exit(this, tc, "getTopics", topics); } return topics; }
java
public String[] getTopics() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "getTopics"); SibTr.exit(this, tc, "getTopics", topics); } return topics; }
[ "public", "String", "[", "]", "getTopics", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getTopics\"", ")"...
Returns the array of topics. @return String[] The array of topics
[ "Returns", "the", "array", "of", "topics", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L293-L301
70,577
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.removeTopic
public void removeTopic(String topic) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "removeTopic", topic); SelectionCriteria[] tmp = selectionCriteriaList; // Loop through the selectionCriteriaList for (int i = 0; i < selection...
java
public void removeTopic(String topic) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "removeTopic", topic); SelectionCriteria[] tmp = selectionCriteriaList; // Loop through the selectionCriteriaList for (int i = 0; i < selection...
[ "public", "void", "removeTopic", "(", "String", "topic", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"removeTopic\"", ...
Remove a topic from the array of topics @param topic The topic to remove
[ "Remove", "a", "topic", "from", "the", "array", "of", "topics" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L308-L351
70,578
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.setTopicSpaceUuid
public void setTopicSpaceUuid(SIBUuid12 topicSpace) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTopicSpaceUuid", topicSpace); this.topicSpaceUuid = topicSpace; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
java
public void setTopicSpaceUuid(SIBUuid12 topicSpace) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTopicSpaceUuid", topicSpace); this.topicSpaceUuid = topicSpace; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
[ "public", "void", "setTopicSpaceUuid", "(", "SIBUuid12", "topicSpace", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"set...
Sets the topic space. @param topicSpace The topicSpaceUuid to set
[ "Sets", "the", "topic", "space", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L394-L403
70,579
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.setSubscriberID
public void setSubscriberID(String subscriptionID) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setSubscriberID", subscriptionID); this.subscriptionID = subscriptionID; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())...
java
public void setSubscriberID(String subscriptionID) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setSubscriberID", subscriptionID); this.subscriptionID = subscriptionID; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())...
[ "public", "void", "setSubscriberID", "(", "String", "subscriptionID", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"setS...
Sets the subscriberID. @param subscriptionID The subscriberID to set
[ "Sets", "the", "subscriberID", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L410-L419
70,580
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.isSIBServerSubject
public boolean isSIBServerSubject() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "isSIBServerSubject"); SibTr.exit(this, tc, "isSIBServerSubject", Boolean.valueOf(isSIBServerSubject)); } return isSIBServerSubject; ...
java
public boolean isSIBServerSubject() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "isSIBServerSubject"); SibTr.exit(this, tc, "isSIBServerSubject", Boolean.valueOf(isSIBServerSubject)); } return isSIBServerSubject; ...
[ "public", "boolean", "isSIBServerSubject", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"isSIBServerSubject\"", ...
Returns the isSIBServerSubject. @return boolean
[ "Returns", "the", "isSIBServerSubject", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L443-L451
70,581
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.isDurable
protected boolean isDurable() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "isDurable"); SibTr.exit(this, tc, "isDurable", Boolean.valueOf(durable)); } return durable; // F001333-14610 }
java
protected boolean isDurable() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "isDurable"); SibTr.exit(this, tc, "isDurable", Boolean.valueOf(durable)); } return durable; // F001333-14610 }
[ "protected", "boolean", "isDurable", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"isDurable\"", ")", ";", ...
Is this a durable subscription state @return isDurable
[ "Is", "this", "a", "durable", "subscription", "state" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L458-L466
70,582
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.setDurable
public void setDurable(boolean isDurable) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setDurable", Boolean.valueOf(isDurable)); durable = isDurable; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr....
java
public void setDurable(boolean isDurable) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setDurable", Boolean.valueOf(isDurable)); durable = isDurable; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr....
[ "public", "void", "setDurable", "(", "boolean", "isDurable", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"setDurable\""...
time for a durable subscription.
[ "time", "for", "a", "durable", "subscription", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L471-L480
70,583
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.equalUser
public boolean equalUser(ConsumerDispatcherState subState) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "equalUser"); /* Check user */ boolean equal = equalUser(subState.getUser(), subState.isSIBServerSubject()); if (TraceComp...
java
public boolean equalUser(ConsumerDispatcherState subState) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "equalUser"); /* Check user */ boolean equal = equalUser(subState.getUser(), subState.isSIBServerSubject()); if (TraceComp...
[ "public", "boolean", "equalUser", "(", "ConsumerDispatcherState", "subState", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", ...
Returns whether this object has the same values as the given object @param subState The subscription state to check equal to. @returns boolean true if the objects match.
[ "Returns", "whether", "this", "object", "has", "the", "same", "values", "as", "the", "given", "object" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L614-L627
70,584
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.setReady
public void setReady(boolean ready) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setReady", Boolean.valueOf(ready)); this.ready = ready; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc...
java
public void setReady(boolean ready) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setReady", Boolean.valueOf(ready)); this.ready = ready; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc...
[ "public", "void", "setReady", "(", "boolean", "ready", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"setReady\"", ",",...
Sets the ready flag. @param ready The ready to set
[ "Sets", "the", "ready", "flag", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L698-L707
70,585
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.isNoLocal
public boolean isNoLocal() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "isNoLocal"); SibTr.exit(this, tc, "isNoLocal", Boolean.valueOf(noLocal)); } return noLocal; }
java
public boolean isNoLocal() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "isNoLocal"); SibTr.exit(this, tc, "isNoLocal", Boolean.valueOf(noLocal)); } return noLocal; }
[ "public", "boolean", "isNoLocal", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"isNoLocal\"", ")", ";", "S...
Returns the noLocal flag. @return boolean
[ "Returns", "the", "noLocal", "flag", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L714-L723
70,586
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.setNoLocal
public void setNoLocal(boolean noLocal) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setNoLocal", Boolean.valueOf(noLocal)); this.noLocal = noLocal; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.e...
java
public void setNoLocal(boolean noLocal) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setNoLocal", Boolean.valueOf(noLocal)); this.noLocal = noLocal; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.e...
[ "public", "void", "setNoLocal", "(", "boolean", "noLocal", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"setNoLocal\"", ...
Sets the noLocal flag. @param noLocal The noLocal to set
[ "Sets", "the", "noLocal", "flag", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L730-L739
70,587
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.setDurableHome
public void setDurableHome(String val) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setDurableHome", val); durableHome = val; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "setDurable...
java
public void setDurableHome(String val) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setDurableHome", val); durableHome = val; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "setDurable...
[ "public", "void", "setDurableHome", "(", "String", "val", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"setDurableHome\"...
Set durableHome. @param String
[ "Set", "durableHome", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L803-L810
70,588
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.setIsCloned
public void setIsCloned(boolean isCloned) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setIsCloned", Boolean.valueOf(isCloned)); this.isCloned = isCloned; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) Sib...
java
public void setIsCloned(boolean isCloned) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setIsCloned", Boolean.valueOf(isCloned)); this.isCloned = isCloned; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) Sib...
[ "public", "void", "setIsCloned", "(", "boolean", "isCloned", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"setIsCloned\"...
Sets the isCloned. @param isCloned The isCloned to set
[ "Sets", "the", "isCloned", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L832-L839
70,589
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.setTopicSpaceName
public void setTopicSpaceName(String name) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTopicSpaceName", name); topicSpaceName = name; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, t...
java
public void setTopicSpaceName(String name) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTopicSpaceName", name); topicSpaceName = name; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, t...
[ "public", "void", "setTopicSpaceName", "(", "String", "name", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"setTopicSpac...
Sets the name of the topicspace that the subscription was made through @param string
[ "Sets", "the", "name", "of", "the", "topicspace", "that", "the", "subscription", "was", "made", "through" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L876-L885
70,590
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.getTopicSpaceBusName
public String getTopicSpaceBusName() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "getTopicSpaceBusName"); SibTr.exit(this, tc, "getTopicSpaceBusName", topicSpaceBusName); } return topicSpaceBusName; }
java
public String getTopicSpaceBusName() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "getTopicSpaceBusName"); SibTr.exit(this, tc, "getTopicSpaceBusName", topicSpaceBusName); } return topicSpaceBusName; }
[ "public", "String", "getTopicSpaceBusName", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getTopicSpaceBusName\"...
Gets the busname of the topicspace that the subscription was made through @return
[ "Gets", "the", "busname", "of", "the", "topicspace", "that", "the", "subscription", "was", "made", "through" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L892-L900
70,591
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.setTopicSpaceBusName
public void setTopicSpaceBusName(String busname) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTopicSpaceBusName", busname); topicSpaceBusName = busname; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
java
public void setTopicSpaceBusName(String busname) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setTopicSpaceBusName", busname); topicSpaceBusName = busname; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
[ "public", "void", "setTopicSpaceBusName", "(", "String", "busname", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"setTop...
Sets the busname of the topicspace that the subscription was made through @param string
[ "Sets", "the", "busname", "of", "the", "topicspace", "that", "the", "subscription", "was", "made", "through" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L907-L916
70,592
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.getRemoteMEUuid
public SIBUuid8 getRemoteMEUuid() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "getRemoteMEUuid"); SibTr.exit(this, tc, "getRemoteMEUuid", remoteMEUuid); } return remoteMEUuid; }
java
public SIBUuid8 getRemoteMEUuid() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(this, tc, "getRemoteMEUuid"); SibTr.exit(this, tc, "getRemoteMEUuid", remoteMEUuid); } return remoteMEUuid; }
[ "public", "SIBUuid8", "getRemoteMEUuid", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"getRemoteMEUuid\"", ")"...
Retrieve the UUID of the ME that homes a remote durable subscription @return
[ "Retrieve", "the", "UUID", "of", "the", "ME", "that", "homes", "a", "remote", "durable", "subscription" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L1129-L1137
70,593
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java
ConsumerDispatcherState.setRemoteMEUuid
public void setRemoteMEUuid(SIBUuid8 remoteMEUuid) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setRemoteMEUuid", remoteMEUuid); this.remoteMEUuid = remoteMEUuid; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
java
public void setRemoteMEUuid(SIBUuid8 remoteMEUuid) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setRemoteMEUuid", remoteMEUuid); this.remoteMEUuid = remoteMEUuid; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
[ "public", "void", "setRemoteMEUuid", "(", "SIBUuid8", "remoteMEUuid", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"setR...
Set the UUID of the ME that homes a remote durable subscription @param remoteMEUuid
[ "Set", "the", "UUID", "of", "the", "ME", "that", "homes", "a", "remote", "durable", "subscription" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ConsumerDispatcherState.java#L1144-L1151
70,594
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/MethodAttribUtils.java
MethodAttribUtils.getXMLAsynchronousMethods
public static boolean getXMLAsynchronousMethods(boolean[] asynchMethodFlags, MethodInterface methodInterface, String[] methodNames, Class<?>[][] methodParamTypes, ...
java
public static boolean getXMLAsynchronousMethods(boolean[] asynchMethodFlags, MethodInterface methodInterface, String[] methodNames, Class<?>[][] methodParamTypes, ...
[ "public", "static", "boolean", "getXMLAsynchronousMethods", "(", "boolean", "[", "]", "asynchMethodFlags", ",", "MethodInterface", "methodInterface", ",", "String", "[", "]", "methodNames", ",", "Class", "<", "?", ">", "[", "]", "[", "]", "methodParamTypes", ","...
F743-4582 Determines which methods on the specified Enterprise Bean should be marked asynchronous by updating the passed-in boolean array. Pre-conditions: <ol> <li>asynchMethodFlags, ejbMethods, wccmEnterpriseBean, and bmd must be non-null</li> <li>asynchMethodFlags.length MUST equal ejbMethods.length</li> <li>bmd.cla...
[ "F743", "-", "4582", "Determines", "which", "methods", "on", "the", "specified", "Enterprise", "Bean", "should", "be", "marked", "asynchronous", "by", "updating", "the", "passed", "-", "in", "boolean", "array", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/MethodAttribUtils.java#L177-L270
70,595
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/MethodAttribUtils.java
MethodAttribUtils.getBusinessMethodsByName
static Map<String, List<Method>> getBusinessMethodsByName(BeanMetaData bmd) { Map<String, List<Method>> methodsByName = new HashMap<String, List<Method>>(); collectBusinessMethodsByName(methodsByName, bmd.methodInfos); collectBusinessMethodsByName(methodsByName, bmd.localMethodInfos); re...
java
static Map<String, List<Method>> getBusinessMethodsByName(BeanMetaData bmd) { Map<String, List<Method>> methodsByName = new HashMap<String, List<Method>>(); collectBusinessMethodsByName(methodsByName, bmd.methodInfos); collectBusinessMethodsByName(methodsByName, bmd.localMethodInfos); re...
[ "static", "Map", "<", "String", ",", "List", "<", "Method", ">", ">", "getBusinessMethodsByName", "(", "BeanMetaData", "bmd", ")", "{", "Map", "<", "String", ",", "List", "<", "Method", ">", ">", "methodsByName", "=", "new", "HashMap", "<", "String", ","...
Returns a map of method name to list of business methods.
[ "Returns", "a", "map", "of", "method", "name", "to", "list", "of", "business", "methods", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/MethodAttribUtils.java#L615-L620
70,596
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/MethodAttribUtils.java
MethodAttribUtils.findMatchingMethod
static Method findMatchingMethod(Map<String, List<Method>> methodsByName, com.ibm.ws.javaee.dd.ejb.Method me) { List<Method> methods = methodsByName.get(me.getMethodName()); if (methods == null) { return null; } List<String> meParms = me.getMethodParamList(); if (meP...
java
static Method findMatchingMethod(Map<String, List<Method>> methodsByName, com.ibm.ws.javaee.dd.ejb.Method me) { List<Method> methods = methodsByName.get(me.getMethodName()); if (methods == null) { return null; } List<String> meParms = me.getMethodParamList(); if (meP...
[ "static", "Method", "findMatchingMethod", "(", "Map", "<", "String", ",", "List", "<", "Method", ">", ">", "methodsByName", ",", "com", ".", "ibm", ".", "ws", ".", "javaee", ".", "dd", ".", "ejb", ".", "Method", "me", ")", "{", "List", "<", "Method",...
Finds the first matching method in a map of method name to list of methods.
[ "Finds", "the", "first", "matching", "method", "in", "a", "map", "of", "method", "name", "to", "list", "of", "methods", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/MethodAttribUtils.java#L641-L659
70,597
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/MethodAttribUtils.java
MethodAttribUtils.methodsEqual
public static final boolean methodsEqual(Method remoteMethod, Method beanMethod) { if ((remoteMethod == null) || (beanMethod == null)) { return false; } //---------------------- // Compare method names //---------------------- if (!remoteMethod.getName()...
java
public static final boolean methodsEqual(Method remoteMethod, Method beanMethod) { if ((remoteMethod == null) || (beanMethod == null)) { return false; } //---------------------- // Compare method names //---------------------- if (!remoteMethod.getName()...
[ "public", "static", "final", "boolean", "methodsEqual", "(", "Method", "remoteMethod", ",", "Method", "beanMethod", ")", "{", "if", "(", "(", "remoteMethod", "==", "null", ")", "||", "(", "beanMethod", "==", "null", ")", ")", "{", "return", "false", ";", ...
This utility method compares a method on the bean's remote interface with a method on the bean and returns true iff they are equal for the purpose of determining if the control descriptor associated with the bean method applies to the remote interface method. Equality in this case means the methods are identical except...
[ "This", "utility", "method", "compares", "a", "method", "on", "the", "bean", "s", "remote", "interface", "with", "a", "method", "on", "the", "bean", "and", "returns", "true", "iff", "they", "are", "equal", "for", "the", "purpose", "of", "determining", "if"...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/MethodAttribUtils.java#L1691-L1730
70,598
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/MethodAttribUtils.java
MethodAttribUtils.homeMethodEquals
public static final boolean homeMethodEquals(Method homeMethod, Properties beanMethodProps) { if ((homeMethod == null) || (beanMethodProps == null)) { return false; } //---------------------- // Compare method names ...
java
public static final boolean homeMethodEquals(Method homeMethod, Properties beanMethodProps) { if ((homeMethod == null) || (beanMethodProps == null)) { return false; } //---------------------- // Compare method names ...
[ "public", "static", "final", "boolean", "homeMethodEquals", "(", "Method", "homeMethod", ",", "Properties", "beanMethodProps", ")", "{", "if", "(", "(", "homeMethod", "==", "null", ")", "||", "(", "beanMethodProps", "==", "null", ")", ")", "{", "return", "fa...
This utility method compares a method on the bean's home interface with a method on the bean and returns true iff they are equal for the purpose of determining if the control descriptor associated with the bean method applies to the remote interface method. Equality in this case means that the bean method has the same ...
[ "This", "utility", "method", "compares", "a", "method", "on", "the", "bean", "s", "home", "interface", "with", "a", "method", "on", "the", "bean", "and", "returns", "true", "iff", "they", "are", "equal", "for", "the", "purpose", "of", "determining", "if", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/MethodAttribUtils.java#L1741-L1786
70,599
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/MethodAttribUtils.java
MethodAttribUtils.timeUnitToMillis
public static long timeUnitToMillis(long value, TimeUnit unit, boolean annotation, BeanMetaData bmd) throws EJBConfigurationException { final boolean isTraceOn = TraceComponent.isAnyTracingEn...
java
public static long timeUnitToMillis(long value, TimeUnit unit, boolean annotation, BeanMetaData bmd) throws EJBConfigurationException { final boolean isTraceOn = TraceComponent.isAnyTracingEn...
[ "public", "static", "long", "timeUnitToMillis", "(", "long", "value", ",", "TimeUnit", "unit", ",", "boolean", "annotation", ",", "BeanMetaData", "bmd", ")", "throws", "EJBConfigurationException", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "...
F743-6605.1 streamlined method.
[ "F743", "-", "6605", ".", "1", "streamlined", "method", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/util/MethodAttribUtils.java#L2624-L2682