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
66,600
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/BaseMessageItemStream.java
BaseMessageItemStream.getDestLowMsgs
public long getDestLowMsgs() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getDestLowMsgs"); SibTr.exit(tc, "getDestLowMsgs", Long.valueOf(_destLowMsgs)); } return _destLowMsgs; }
java
public long getDestLowMsgs() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getDestLowMsgs"); SibTr.exit(tc, "getDestLowMsgs", Long.valueOf(_destLowMsgs)); } return _destLowMsgs; }
[ "public", "long", "getDestLowMsgs", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getDestLowMsgs\"", ")", ";", "SibTr", "...
Gets the destination low messages limit currently being used by this localization. @return
[ "Gets", "the", "destination", "low", "messages", "limit", "currently", "being", "used", "by", "this", "localization", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/BaseMessageItemStream.java#L177-L185
66,601
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/BaseMessageItemStream.java
BaseMessageItemStream.fireDepthThresholdReachedEvent
public void fireDepthThresholdReachedEvent(ControlAdapter cAdapter, boolean reachedHigh, long numMsgs, long msgLimit) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "...
java
public void fireDepthThresholdReachedEvent(ControlAdapter cAdapter, boolean reachedHigh, long numMsgs, long msgLimit) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "...
[ "public", "void", "fireDepthThresholdReachedEvent", "(", "ControlAdapter", "cAdapter", ",", "boolean", "reachedHigh", ",", "long", "numMsgs", ",", "long", "msgLimit", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "...
Fire an event notification of type TYPE_SIB_MESSAGEPOINT_DEPTH_THRESHOLD_REACHED @param newState
[ "Fire", "an", "event", "notification", "of", "type", "TYPE_SIB_MESSAGEPOINT_DEPTH_THRESHOLD_REACHED" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/BaseMessageItemStream.java#L751-L828
66,602
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/FFDCJanitor.java
FFDCJanitor.reschedule
private void reschedule() { // set up a daily roll Calendar cal = Calendar.getInstance(); long today = cal.getTimeInMillis(); // adjust to somewhere after midnight of the next day cal.set(Calendar.HOUR_OF_DAY, 0); cal.set(Calendar.MINUTE, 0); cal.add(Calendar.DAT...
java
private void reschedule() { // set up a daily roll Calendar cal = Calendar.getInstance(); long today = cal.getTimeInMillis(); // adjust to somewhere after midnight of the next day cal.set(Calendar.HOUR_OF_DAY, 0); cal.set(Calendar.MINUTE, 0); cal.add(Calendar.DAT...
[ "private", "void", "reschedule", "(", ")", "{", "// set up a daily roll", "Calendar", "cal", "=", "Calendar", ".", "getInstance", "(", ")", ";", "long", "today", "=", "cal", ".", "getTimeInMillis", "(", ")", ";", "// adjust to somewhere after midnight of the next da...
Reschedule the task for midnight-ish the next day.
[ "Reschedule", "the", "task", "for", "midnight", "-", "ish", "the", "next", "day", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.osgi/src/com/ibm/ws/logging/internal/osgi/FFDCJanitor.java#L60-L74
66,603
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/TimerNpRunnable.java
TimerNpRunnable.run
@Override public void run() { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) // F743-425.CodRev Tr.entry(tc, "run: " + ivTimer.ivTaskId); // F743-425.CodRev if (serverStopping) { if (isTraceOn && tc.isEntryEnable...
java
@Override public void run() { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) // F743-425.CodRev Tr.entry(tc, "run: " + ivTimer.ivTaskId); // F743-425.CodRev if (serverStopping) { if (isTraceOn && tc.isEntryEnable...
[ "@", "Override", "public", "void", "run", "(", ")", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "// F743-425.CodRev", "Tr", ...
Executes the timer work with configured retries. The EJB 3.1 spec, section 18.4.3 says, "If the transaction fails or is rolled back, the container must retry the timeout at least once." We allow the user to configure a retry count of 0, which will cause NO retries to be performed. If the retry count is not set, we wil...
[ "Executes", "the", "timer", "work", "with", "configured", "retries", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/TimerNpRunnable.java#L70-L146
66,604
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/xml/ParserFactory.java
ParserFactory.parseDocument
public static Document parseDocument(DocumentBuilder builder, File file) throws IOException, SAXException { final DocumentBuilder docBuilder = builder; final File parsingFile = file; try { return (Document) AccessController.doPrivileged(new PrivilegedExceptionAction() { ...
java
public static Document parseDocument(DocumentBuilder builder, File file) throws IOException, SAXException { final DocumentBuilder docBuilder = builder; final File parsingFile = file; try { return (Document) AccessController.doPrivileged(new PrivilegedExceptionAction() { ...
[ "public", "static", "Document", "parseDocument", "(", "DocumentBuilder", "builder", ",", "File", "file", ")", "throws", "IOException", ",", "SAXException", "{", "final", "DocumentBuilder", "docBuilder", "=", "builder", ";", "final", "File", "parsingFile", "=", "fi...
D190462 - START
[ "D190462", "-", "START" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/xml/ParserFactory.java#L286-L312
66,605
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInputStreamImpl.java
HttpInputStreamImpl.checkBuffer
protected boolean checkBuffer() throws IOException { if (!enableMultiReadofPostData) { if (null != this.buffer) { if (this.buffer.hasRemaining()) { return true; } this.buffer.release(); this.buffer = null; ...
java
protected boolean checkBuffer() throws IOException { if (!enableMultiReadofPostData) { if (null != this.buffer) { if (this.buffer.hasRemaining()) { return true; } this.buffer.release(); this.buffer = null; ...
[ "protected", "boolean", "checkBuffer", "(", ")", "throws", "IOException", "{", "if", "(", "!", "enableMultiReadofPostData", ")", "{", "if", "(", "null", "!=", "this", ".", "buffer", ")", "{", "if", "(", "this", ".", "buffer", ".", "hasRemaining", "(", ")...
Check the input buffer for data. If necessary, attempt a read for a new buffer. @return boolean - true means data is ready @throws IOException
[ "Check", "the", "input", "buffer", "for", "data", ".", "If", "necessary", "attempt", "a", "read", "for", "a", "new", "buffer", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInputStreamImpl.java#L105-L130
66,606
OpenLiberty/open-liberty
dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInputStreamImpl.java
HttpInputStreamImpl.checkMultiReadBuffer
private boolean checkMultiReadBuffer() throws IOException { //first check existing buffer if (null != this.buffer) { if (this.buffer.hasRemaining()) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "checkMultiReadBuffer, re...
java
private boolean checkMultiReadBuffer() throws IOException { //first check existing buffer if (null != this.buffer) { if (this.buffer.hasRemaining()) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "checkMultiReadBuffer, re...
[ "private", "boolean", "checkMultiReadBuffer", "(", ")", "throws", "IOException", "{", "//first check existing buffer", "if", "(", "null", "!=", "this", ".", "buffer", ")", "{", "if", "(", "this", ".", "buffer", ".", "hasRemaining", "(", ")", ")", "{", "if", ...
Check the input buffer for data. If necessary, attempt a read for a new buffer and store it. @return @throws IOException
[ "Check", "the", "input", "buffer", "for", "data", ".", "If", "necessary", "attempt", "a", "read", "for", "a", "new", "buffer", "and", "store", "it", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInputStreamImpl.java#L139-L201
66,607
OpenLiberty/open-liberty
dev/com.ibm.ws.repository.parsers/src/com/ibm/ws/repository/parsers/internal/EsaSubsystemFeatureDefinitionImpl.java
EsaSubsystemFeatureDefinitionImpl.constructInstance
public static EsaSubsystemFeatureDefinitionImpl constructInstance(File esa) throws ZipException, IOException { // Find the manifest - case isn't guaranteed so do a search ZipFile zip = new ZipFile(esa); Enumeration<? extends ZipEntry> zipEntries = zip.entries(); ZipEntry subsystemEntry =...
java
public static EsaSubsystemFeatureDefinitionImpl constructInstance(File esa) throws ZipException, IOException { // Find the manifest - case isn't guaranteed so do a search ZipFile zip = new ZipFile(esa); Enumeration<? extends ZipEntry> zipEntries = zip.entries(); ZipEntry subsystemEntry =...
[ "public", "static", "EsaSubsystemFeatureDefinitionImpl", "constructInstance", "(", "File", "esa", ")", "throws", "ZipException", ",", "IOException", "{", "// Find the manifest - case isn't guaranteed so do a search", "ZipFile", "zip", "=", "new", "ZipFile", "(", "esa", ")",...
Create a new instance of this class for the supplied ESA file. @param esa The ESA to load @return The {@link EsaSubsystemFeatureDefinitionImpl} for working with the properties of the ESA @throws ZipException @throws IOException
[ "Create", "a", "new", "instance", "of", "this", "class", "for", "the", "supplied", "ESA", "file", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.repository.parsers/src/com/ibm/ws/repository/parsers/internal/EsaSubsystemFeatureDefinitionImpl.java#L43-L55
66,608
OpenLiberty/open-liberty
dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/IncidentLogger.java
IncidentLogger.formatTime
static String formatTime() { Date date = new Date(); DateFormat formatter = BaseTraceFormatter.useIsoDateFormat ? new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ") : DateFormatProvider.getDateFormat(); StringBuffer answer = new StringBuffer(); answer.append('['); formatter.forma...
java
static String formatTime() { Date date = new Date(); DateFormat formatter = BaseTraceFormatter.useIsoDateFormat ? new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ") : DateFormatProvider.getDateFormat(); StringBuffer answer = new StringBuffer(); answer.append('['); formatter.forma...
[ "static", "String", "formatTime", "(", ")", "{", "Date", "date", "=", "new", "Date", "(", ")", ";", "DateFormat", "formatter", "=", "BaseTraceFormatter", ".", "useIsoDateFormat", "?", "new", "SimpleDateFormat", "(", "\"yyyy-MM-dd'T'HH:mm:ss.SSSZ\"", ")", ":", "D...
Return the current time formatted in a standard way @return The current time
[ "Return", "the", "current", "time", "formatted", "in", "a", "standard", "way" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/IncidentLogger.java#L114-L122
66,609
OpenLiberty/open-liberty
dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/IncidentLogger.java
IncidentLogger.getCallStackFromStackTraceElement
private static String[] getCallStackFromStackTraceElement(StackTraceElement[] exceptionCallStack) { if (exceptionCallStack == null) return null; String[] answer = new String[exceptionCallStack.length]; for (int i = 0; i < exceptionCallStack.length; i++) { answer[exceptio...
java
private static String[] getCallStackFromStackTraceElement(StackTraceElement[] exceptionCallStack) { if (exceptionCallStack == null) return null; String[] answer = new String[exceptionCallStack.length]; for (int i = 0; i < exceptionCallStack.length; i++) { answer[exceptio...
[ "private", "static", "String", "[", "]", "getCallStackFromStackTraceElement", "(", "StackTraceElement", "[", "]", "exceptionCallStack", ")", "{", "if", "(", "exceptionCallStack", "==", "null", ")", "return", "null", ";", "String", "[", "]", "answer", "=", "new",...
Create the call stack array expected by diagnostic modules from an array of StackTraceElements @param exceptionCallStack The stack trace elements @return The call stack
[ "Create", "the", "call", "stack", "array", "expected", "by", "diagnostic", "modules", "from", "an", "array", "of", "StackTraceElements" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/IncidentLogger.java#L171-L180
66,610
OpenLiberty/open-liberty
dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/IncidentLogger.java
IncidentLogger.getPackageName
private static String getPackageName(String className) { int end = className.lastIndexOf('.'); return (end > 0) ? className.substring(0, end) : ""; }
java
private static String getPackageName(String className) { int end = className.lastIndexOf('.'); return (end > 0) ? className.substring(0, end) : ""; }
[ "private", "static", "String", "getPackageName", "(", "String", "className", ")", "{", "int", "end", "=", "className", ".", "lastIndexOf", "(", "'", "'", ")", ";", "return", "(", "end", ">", "0", ")", "?", "className", ".", "substring", "(", "0", ",", ...
Return the package name of a given class name @param className The class name from which to find the package name @return The package name of the class (the empty string is returned for the default package
[ "Return", "the", "package", "name", "of", "a", "given", "class", "name" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging/src/com/ibm/ws/logging/internal/impl/IncidentLogger.java#L190-L193
66,611
OpenLiberty/open-liberty
dev/com.ibm.ws.security.jwtsso/src/com/ibm/ws/security/jwtsso/utils/ConfigUtils.java
ConfigUtils.validateCookieName
public String validateCookieName(String cookieName, boolean quiet) { if (cookieName == null || cookieName.length() == 0) { if (!quiet) { Tr.error(tc, "COOKIE_NAME_CANT_BE_EMPTY"); } return CFG_DEFAULT_COOKIENAME; } String cookieNameUc = cookieName.toUpperCase(); boolean valid = true; for (int i =...
java
public String validateCookieName(String cookieName, boolean quiet) { if (cookieName == null || cookieName.length() == 0) { if (!quiet) { Tr.error(tc, "COOKIE_NAME_CANT_BE_EMPTY"); } return CFG_DEFAULT_COOKIENAME; } String cookieNameUc = cookieName.toUpperCase(); boolean valid = true; for (int i =...
[ "public", "String", "validateCookieName", "(", "String", "cookieName", ",", "boolean", "quiet", ")", "{", "if", "(", "cookieName", "==", "null", "||", "cookieName", ".", "length", "(", ")", "==", "0", ")", "{", "if", "(", "!", "quiet", ")", "{", "Tr", ...
reset cookieName to default value if it is not valid @param cookieName @param quiet don't emit any error messages @return original name or default if original was invalid
[ "reset", "cookieName", "to", "default", "value", "if", "it", "is", "not", "valid" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.jwtsso/src/com/ibm/ws/security/jwtsso/utils/ConfigUtils.java#L30-L53
66,612
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredSyncs.java
RegisteredSyncs.distributeBefore
public void distributeBefore() { if (tc.isEntryEnabled()) Tr.entry(tc, "distributeBefore", this); boolean setRollback = false; try { coreDistributeBefore(); } catch (Throwable exc) { // No FFDC Code Needed. Tr.error(tc, "WT...
java
public void distributeBefore() { if (tc.isEntryEnabled()) Tr.entry(tc, "distributeBefore", this); boolean setRollback = false; try { coreDistributeBefore(); } catch (Throwable exc) { // No FFDC Code Needed. Tr.error(tc, "WT...
[ "public", "void", "distributeBefore", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"distributeBefore\"", ",", "this", ")", ";", "boolean", "setRollback", "=", "false", ";", "try", "{", "cor...
Distributes before completion operations to all registered Synchronization objects. If a synchronization raises an exception, mark transaction for rollback.
[ "Distributes", "before", "completion", "operations", "to", "all", "registered", "Synchronization", "objects", ".", "If", "a", "synchronization", "raises", "an", "exception", "mark", "transaction", "for", "rollback", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredSyncs.java#L141-L205
66,613
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredSyncs.java
RegisteredSyncs.distributeAfter
public void distributeAfter(int status) { if (tc.isEntryEnabled()) Tr.entry(tc, "distributeAfter", new Object[] { this, status}); // Issue the RRS syncs first - these need to be as close to the completion as possible final List RRSsyncs = _syncs[SYNC_TIER_RRS]; ...
java
public void distributeAfter(int status) { if (tc.isEntryEnabled()) Tr.entry(tc, "distributeAfter", new Object[] { this, status}); // Issue the RRS syncs first - these need to be as close to the completion as possible final List RRSsyncs = _syncs[SYNC_TIER_RRS]; ...
[ "public", "void", "distributeAfter", "(", "int", "status", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"distributeAfter\"", ",", "new", "Object", "[", "]", "{", "this", ",", "status", "}", ")...
Distributes after completion operations to all registered Synchronization objects. @param status Indicates whether the transaction committed.
[ "Distributes", "after", "completion", "operations", "to", "all", "registered", "Synchronization", "objects", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/RegisteredSyncs.java#L261-L293
66,614
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/udpchannel/internal/UDPBufferFactory.java
UDPBufferFactory.getRef
public static UDPBufferFactory getRef() { if (null == ofInstance) { synchronized (UDPBufferFactory.class) { if (null == ofInstance) { ofInstance = new UDPBufferFactory(); } } } return ofInstance; }
java
public static UDPBufferFactory getRef() { if (null == ofInstance) { synchronized (UDPBufferFactory.class) { if (null == ofInstance) { ofInstance = new UDPBufferFactory(); } } } return ofInstance; }
[ "public", "static", "UDPBufferFactory", "getRef", "(", ")", "{", "if", "(", "null", "==", "ofInstance", ")", "{", "synchronized", "(", "UDPBufferFactory", ".", "class", ")", "{", "if", "(", "null", "==", "ofInstance", ")", "{", "ofInstance", "=", "new", ...
Get a reference to the singleton instance of this class. @return UDPBufferFactory
[ "Get", "a", "reference", "to", "the", "singleton", "instance", "of", "this", "class", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/udpchannel/internal/UDPBufferFactory.java#L37-L46
66,615
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/udpchannel/internal/UDPBufferFactory.java
UDPBufferFactory.getUDPBuffer
public static UDPBufferImpl getUDPBuffer(WsByteBuffer buffer, SocketAddress address) { UDPBufferImpl udpBuffer = getRef().getUDPBufferImpl(); udpBuffer.set(buffer, address); return udpBuffer; }
java
public static UDPBufferImpl getUDPBuffer(WsByteBuffer buffer, SocketAddress address) { UDPBufferImpl udpBuffer = getRef().getUDPBufferImpl(); udpBuffer.set(buffer, address); return udpBuffer; }
[ "public", "static", "UDPBufferImpl", "getUDPBuffer", "(", "WsByteBuffer", "buffer", ",", "SocketAddress", "address", ")", "{", "UDPBufferImpl", "udpBuffer", "=", "getRef", "(", ")", ".", "getUDPBufferImpl", "(", ")", ";", "udpBuffer", ".", "set", "(", "buffer", ...
Get a UDPBuffer that will encapsulate the provided information. @param buffer @param address @return UDPBufferImpl
[ "Get", "a", "UDPBuffer", "that", "will", "encapsulate", "the", "provided", "information", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/udpchannel/internal/UDPBufferFactory.java#L64-L68
66,616
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/udpchannel/internal/UDPBufferFactory.java
UDPBufferFactory.getUDPBufferImpl
protected UDPBufferImpl getUDPBufferImpl() { UDPBufferImpl ret = (UDPBufferImpl) udpBufferObjectPool.get(); if (ret == null) { ret = new UDPBufferImpl(this); } return ret; }
java
protected UDPBufferImpl getUDPBufferImpl() { UDPBufferImpl ret = (UDPBufferImpl) udpBufferObjectPool.get(); if (ret == null) { ret = new UDPBufferImpl(this); } return ret; }
[ "protected", "UDPBufferImpl", "getUDPBufferImpl", "(", ")", "{", "UDPBufferImpl", "ret", "=", "(", "UDPBufferImpl", ")", "udpBufferObjectPool", ".", "get", "(", ")", ";", "if", "(", "ret", "==", "null", ")", "{", "ret", "=", "new", "UDPBufferImpl", "(", "t...
Retrieve an UDPBuffer object from the factory. @return UDPBufferImpl
[ "Retrieve", "an", "UDPBuffer", "object", "from", "the", "factory", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/udpchannel/internal/UDPBufferFactory.java#L84-L90
66,617
OpenLiberty/open-liberty
dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/FileLogProperties.java
FileLogProperties.logDirectory
public String logDirectory() { if (tc.isEntryEnabled()) Tr.entry(tc, "logDirectory", this); if (tc.isEntryEnabled()) Tr.exit(tc, "logDirectory", _logDirectory); return _logDirectory; }
java
public String logDirectory() { if (tc.isEntryEnabled()) Tr.entry(tc, "logDirectory", this); if (tc.isEntryEnabled()) Tr.exit(tc, "logDirectory", _logDirectory); return _logDirectory; }
[ "public", "String", "logDirectory", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"logDirectory\"", ",", "this", ")", ";", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", "....
Returns the physical location where a recovery log constructed from the target object will reside. @return String The phyisical log directory path
[ "Returns", "the", "physical", "location", "where", "a", "recovery", "log", "constructed", "from", "the", "target", "object", "will", "reside", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/FileLogProperties.java#L304-L311
66,618
OpenLiberty/open-liberty
dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/FileLogProperties.java
FileLogProperties.logDirectoryStem
public String logDirectoryStem() { if (tc.isEntryEnabled()) Tr.entry(tc, "logDirectoryStem", this); if (tc.isEntryEnabled()) Tr.exit(tc, "logDirectoryStem", _logDirectoryStem); return _logDirectoryStem; }
java
public String logDirectoryStem() { if (tc.isEntryEnabled()) Tr.entry(tc, "logDirectoryStem", this); if (tc.isEntryEnabled()) Tr.exit(tc, "logDirectoryStem", _logDirectoryStem); return _logDirectoryStem; }
[ "public", "String", "logDirectoryStem", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"logDirectoryStem\"", ",", "this", ")", ";", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "T...
Returns the stem of the location where a recovery log constructed from the target object will reside. @return String The stem of the log directory path
[ "Returns", "the", "stem", "of", "the", "location", "where", "a", "recovery", "log", "constructed", "from", "the", "target", "object", "will", "reside", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/FileLogProperties.java#L322-L329
66,619
OpenLiberty/open-liberty
dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/FileLogProperties.java
FileLogProperties.logFileSize
public int logFileSize() { if (tc.isEntryEnabled()) Tr.entry(tc, "logFileSize", this); if (tc.isEntryEnabled()) Tr.exit(tc, "logFileSize", new Integer(_logFileSize)); return _logFileSize; }
java
public int logFileSize() { if (tc.isEntryEnabled()) Tr.entry(tc, "logFileSize", this); if (tc.isEntryEnabled()) Tr.exit(tc, "logFileSize", new Integer(_logFileSize)); return _logFileSize; }
[ "public", "int", "logFileSize", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"logFileSize\"", ",", "this", ")", ";", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", ...
Returns the physical log size of a recovery log constructed from the target object. @return int The phyisical log size (in kilobytes)
[ "Returns", "the", "physical", "log", "size", "of", "a", "recovery", "log", "constructed", "from", "the", "target", "object", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/FileLogProperties.java#L340-L347
66,620
OpenLiberty/open-liberty
dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/FileLogProperties.java
FileLogProperties.maxLogFileSize
public int maxLogFileSize() { if (tc.isEntryEnabled()) Tr.entry(tc, "maxLogFileSize", this); if (tc.isEntryEnabled()) Tr.exit(tc, "maxLogFileSize", new Integer(_maxLogFileSize)); return _maxLogFileSize; }
java
public int maxLogFileSize() { if (tc.isEntryEnabled()) Tr.entry(tc, "maxLogFileSize", this); if (tc.isEntryEnabled()) Tr.exit(tc, "maxLogFileSize", new Integer(_maxLogFileSize)); return _maxLogFileSize; }
[ "public", "int", "maxLogFileSize", "(", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"maxLogFileSize\"", ",", "this", ")", ";", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", "...
Returns the maximum physical log size of a recovery log constructed from the target object. @return int The maximum phyisical log size (in kilobytes)
[ "Returns", "the", "maximum", "physical", "log", "size", "of", "a", "recovery", "log", "constructed", "from", "the", "target", "object", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/FileLogProperties.java#L358-L365
66,621
OpenLiberty/open-liberty
dev/com.ibm.ws.classloading.bells/src/com/ibm/ws/classloading/bells/internal/Bell.java
Bell.unregister
void unregister() { trackerLock.lock(); try { if (tracker != null) { // simply closing the tracker causes the services to be unregistered tracker.close(); tracker = null; } } finally { trackerLock.unlock(); ...
java
void unregister() { trackerLock.lock(); try { if (tracker != null) { // simply closing the tracker causes the services to be unregistered tracker.close(); tracker = null; } } finally { trackerLock.unlock(); ...
[ "void", "unregister", "(", ")", "{", "trackerLock", ".", "lock", "(", ")", ";", "try", "{", "if", "(", "tracker", "!=", "null", ")", "{", "// simply closing the tracker causes the services to be unregistered", "tracker", ".", "close", "(", ")", ";", "tracker", ...
Unregisters all OSGi services associated with this bell
[ "Unregisters", "all", "OSGi", "services", "associated", "with", "this", "bell" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloading.bells/src/com/ibm/ws/classloading/bells/internal/Bell.java#L117-L128
66,622
OpenLiberty/open-liberty
dev/com.ibm.ws.classloading.bells/src/com/ibm/ws/classloading/bells/internal/Bell.java
Bell.update
void update() { final BundleContext context = componentContext.getBundleContext(); // determine the service filter to use for discovering the Library service this bell is for String libraryRef = library.id(); // it is unclear if only looking at the id would work here. // other ex...
java
void update() { final BundleContext context = componentContext.getBundleContext(); // determine the service filter to use for discovering the Library service this bell is for String libraryRef = library.id(); // it is unclear if only looking at the id would work here. // other ex...
[ "void", "update", "(", ")", "{", "final", "BundleContext", "context", "=", "componentContext", ".", "getBundleContext", "(", ")", ";", "// determine the service filter to use for discovering the Library service this bell is for", "String", "libraryRef", "=", "library", ".", ...
Configures this bell with a specific library and a possible set of service names @param context the bundle context @param executor the executor service @param config the configuration settings
[ "Configures", "this", "bell", "with", "a", "specific", "library", "and", "a", "possible", "set", "of", "service", "names" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloading.bells/src/com/ibm/ws/classloading/bells/internal/Bell.java#L137-L195
66,623
OpenLiberty/open-liberty
dev/com.ibm.websphere.org.eclipse.microprofile.openapi.1.0/src/org/eclipse/microprofile/openapi/OASFactory.java
OASFactory.createObject
public static <T extends Constructible> T createObject(Class<T> clazz) { return OASFactoryResolver.instance().createObject(clazz); }
java
public static <T extends Constructible> T createObject(Class<T> clazz) { return OASFactoryResolver.instance().createObject(clazz); }
[ "public", "static", "<", "T", "extends", "Constructible", ">", "T", "createObject", "(", "Class", "<", "T", ">", "clazz", ")", "{", "return", "OASFactoryResolver", ".", "instance", "(", ")", ".", "createObject", "(", "clazz", ")", ";", "}" ]
This method creates a new instance of a constructible element from the OpenAPI model tree. <br><br>Example: <pre><code>OASFactory.createObject(Info.class).title("Airlines").description("Airlines APIs").version("1.0.0"); </code></pre> @param <T> describes the type parameter @param clazz represents a model which extends...
[ "This", "method", "creates", "a", "new", "instance", "of", "a", "constructible", "element", "from", "the", "OpenAPI", "model", "tree", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.org.eclipse.microprofile.openapi.1.0/src/org/eclipse/microprofile/openapi/OASFactory.java#L48-L50
66,624
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/validator/EmbeddedXMLConfigValidator.java
EmbeddedXMLConfigValidator.printErrorMessage
private void printErrorMessage(String key, Object... substitutions) { Tr.error(tc, key, substitutions); errorMsgIssued = true; }
java
private void printErrorMessage(String key, Object... substitutions) { Tr.error(tc, key, substitutions); errorMsgIssued = true; }
[ "private", "void", "printErrorMessage", "(", "String", "key", ",", "Object", "...", "substitutions", ")", "{", "Tr", ".", "error", "(", "tc", ",", "key", ",", "substitutions", ")", ";", "errorMsgIssued", "=", "true", ";", "}" ]
Prints the specified error message. @param key The resource bundle key for the message. @param substitutions The values to be substituted for the tokens in the message skeleton.
[ "Prints", "the", "specified", "error", "message", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/validator/EmbeddedXMLConfigValidator.java#L371-L374
66,625
OpenLiberty/open-liberty
dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/ELHelper.java
ELHelper.evaluateElExpression
@Trivial protected Object evaluateElExpression(String expression, boolean mask) { final String methodName = "evaluateElExpression"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, methodName, new Object[] { (expression == null) ? null : mask ? OBFUSCATED_S...
java
@Trivial protected Object evaluateElExpression(String expression, boolean mask) { final String methodName = "evaluateElExpression"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, methodName, new Object[] { (expression == null) ? null : mask ? OBFUSCATED_S...
[ "@", "Trivial", "protected", "Object", "evaluateElExpression", "(", "String", "expression", ",", "boolean", "mask", ")", "{", "final", "String", "methodName", "=", "\"evaluateElExpression\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ...
Evaluate a possible EL expression. @param expression The expression to evaluate. @param mask Set whether to mask the expression and result. Useful for when passwords might be contained in either the expression or the result. @return The evaluated expression.
[ "Evaluate", "a", "possible", "EL", "expression", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/ELHelper.java#L60-L74
66,626
OpenLiberty/open-liberty
dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/ELHelper.java
ELHelper.isImmediateExpression
@Trivial static boolean isImmediateExpression(String expression, boolean mask) { final String methodName = "isImmediateExpression"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, methodName, new Object[] { (expression == null) ? null : mask ? OBFUSCATED_S...
java
@Trivial static boolean isImmediateExpression(String expression, boolean mask) { final String methodName = "isImmediateExpression"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, methodName, new Object[] { (expression == null) ? null : mask ? OBFUSCATED_S...
[ "@", "Trivial", "static", "boolean", "isImmediateExpression", "(", "String", "expression", ",", "boolean", "mask", ")", "{", "final", "String", "methodName", "=", "\"isImmediateExpression\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ...
Return whether the expression is an immediate EL expression. @param expression The expression to evaluate. @param mask Set whether to mask the expression and result. Useful for when passwords might be contained in either the expression or the result. @return True if the expression is an immediate EL expression.
[ "Return", "whether", "the", "expression", "is", "an", "immediate", "EL", "expression", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/ELHelper.java#L118-L131
66,627
OpenLiberty/open-liberty
dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/ELHelper.java
ELHelper.removeBrackets
@Trivial static String removeBrackets(String expression, boolean mask) { final String methodName = "removeBrackets"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, methodName, new Object[] { (expression == null) ? null : mask ? OBFUSCATED_STRING : express...
java
@Trivial static String removeBrackets(String expression, boolean mask) { final String methodName = "removeBrackets"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, methodName, new Object[] { (expression == null) ? null : mask ? OBFUSCATED_STRING : express...
[ "@", "Trivial", "static", "String", "removeBrackets", "(", "String", "expression", ",", "boolean", "mask", ")", "{", "final", "String", "methodName", "=", "\"removeBrackets\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ...
Remove the brackets from an EL expression. @param expression The expression to remove the brackets from. @param mask Set whether to mask the expression and result. Useful for when passwords might be contained in either the expression or the result. @return The EL expression without the brackets.
[ "Remove", "the", "brackets", "from", "an", "EL", "expression", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.javaeesec/src/com/ibm/ws/security/javaeesec/identitystore/ELHelper.java#L459-L475
66,628
OpenLiberty/open-liberty
dev/com.ibm.ws.org.apache.cxf.cxf.rt.frontend.jaxrs.3.2/src/org/apache/cxf/jaxrs/model/AbstractResourceInfo.java
AbstractResourceInfo.getProxySet
@SuppressWarnings("unchecked") private ThreadLocalProxyCopyOnWriteArraySet<ThreadLocalProxy<?>> getProxySet() { Object property = null; property = bus.getProperty(PROXY_SET); if (property == null) { ThreadLocalProxyCopyOnWriteArraySet<ThreadLocalProxy<?>> proxyMap = new ThreadLoc...
java
@SuppressWarnings("unchecked") private ThreadLocalProxyCopyOnWriteArraySet<ThreadLocalProxy<?>> getProxySet() { Object property = null; property = bus.getProperty(PROXY_SET); if (property == null) { ThreadLocalProxyCopyOnWriteArraySet<ThreadLocalProxy<?>> proxyMap = new ThreadLoc...
[ "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "private", "ThreadLocalProxyCopyOnWriteArraySet", "<", "ThreadLocalProxy", "<", "?", ">", ">", "getProxySet", "(", ")", "{", "Object", "property", "=", "null", ";", "property", "=", "bus", ".", "getProperty", "...
Create a CopyOnWriteArraySet to store the ThreadLocalProxy objects for convenience of clearance
[ "Create", "a", "CopyOnWriteArraySet", "to", "store", "the", "ThreadLocalProxy", "objects", "for", "convenience", "of", "clearance" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.cxf.cxf.rt.frontend.jaxrs.3.2/src/org/apache/cxf/jaxrs/model/AbstractResourceInfo.java#L247-L258
66,629
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.instrument.serialfilter/src/com/ibm/ws/kernel/instrument/serialfilter/util/CallStackWalker.java
CallStackWalker.skipClasslessStackFrames
private void skipClasslessStackFrames() { // skip over any stack trace elements that are unmatched in the classes array if (classes.isEmpty()) return; while (elements.size() > 0 && !!!elements.peek().getClassName().equals(classes.peek().getName())) { elements.pop(); } }
java
private void skipClasslessStackFrames() { // skip over any stack trace elements that are unmatched in the classes array if (classes.isEmpty()) return; while (elements.size() > 0 && !!!elements.peek().getClassName().equals(classes.peek().getName())) { elements.pop(); } }
[ "private", "void", "skipClasslessStackFrames", "(", ")", "{", "// skip over any stack trace elements that are unmatched in the classes array", "if", "(", "classes", ".", "isEmpty", "(", ")", ")", "return", ";", "while", "(", "elements", ".", "size", "(", ")", ">", "...
Call after any advancement to bring this.elements into line with this.classes.
[ "Call", "after", "any", "advancement", "to", "bring", "this", ".", "elements", "into", "line", "with", "this", ".", "classes", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.instrument.serialfilter/src/com/ibm/ws/kernel/instrument/serialfilter/util/CallStackWalker.java#L51-L57
66,630
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.core/src/com/ibm/websphere/logging/hpel/LogRecordContext.java
LogRecordContext.unregisterExtension
public static boolean unregisterExtension(String key) { if (key == null) { throw new IllegalArgumentException( "Parameter 'key' can not be null"); } w.lock(); try { return extensionMap.remove(key) != null; } finally { ...
java
public static boolean unregisterExtension(String key) { if (key == null) { throw new IllegalArgumentException( "Parameter 'key' can not be null"); } w.lock(); try { return extensionMap.remove(key) != null; } finally { ...
[ "public", "static", "boolean", "unregisterExtension", "(", "String", "key", ")", "{", "if", "(", "key", "==", "null", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"Parameter 'key' can not be null\"", ")", ";", "}", "w", ".", "lock", "(", ")", ...
Removes context extension registration. @param key String key associated with the registered extension. @return <code>true</code> if key had extension associated with it. @throws IllegalArgumentException if parameter <code>key</code> is <code>null</code>.
[ "Removes", "context", "extension", "registration", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/websphere/logging/hpel/LogRecordContext.java#L267-L278
66,631
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.core/src/com/ibm/websphere/logging/hpel/LogRecordContext.java
LogRecordContext.getExtensions
public static void getExtensions(Map<String, String> map) throws IllegalArgumentException { if (map == null) { throw new IllegalArgumentException( "Parameter 'map' can not be null."); } if (recursion.get() == Boolean.TRUE) { ...
java
public static void getExtensions(Map<String, String> map) throws IllegalArgumentException { if (map == null) { throw new IllegalArgumentException( "Parameter 'map' can not be null."); } if (recursion.get() == Boolean.TRUE) { ...
[ "public", "static", "void", "getExtensions", "(", "Map", "<", "String", ",", "String", ">", "map", ")", "throws", "IllegalArgumentException", "{", "if", "(", "map", "==", "null", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"Parameter 'map' can n...
Retrieves values for all registered context extensions. @param map {@link Map} instance to populate with key-value pairs of the context extensions. @throws IllegalArgumentException if parameter <code>map</code> is <code>null</code>
[ "Retrieves", "values", "for", "all", "registered", "context", "extensions", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/websphere/logging/hpel/LogRecordContext.java#L289-L342
66,632
OpenLiberty/open-liberty
dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/AbstractJPAProviderIntegration.java
AbstractJPAProviderIntegration.logProviderInfo
@FFDCIgnore(Exception.class) private void logProviderInfo(String providerName, ClassLoader loader) { try { if (PROVIDER_ECLIPSELINK.equals(providerName)) { // org.eclipse.persistence.Version.getVersion(): 2.6.4.v20160829-44060b6 Class<?> Version = loadClass(loader...
java
@FFDCIgnore(Exception.class) private void logProviderInfo(String providerName, ClassLoader loader) { try { if (PROVIDER_ECLIPSELINK.equals(providerName)) { // org.eclipse.persistence.Version.getVersion(): 2.6.4.v20160829-44060b6 Class<?> Version = loadClass(loader...
[ "@", "FFDCIgnore", "(", "Exception", ".", "class", ")", "private", "void", "logProviderInfo", "(", "String", "providerName", ",", "ClassLoader", "loader", ")", "{", "try", "{", "if", "(", "PROVIDER_ECLIPSELINK", ".", "equals", "(", "providerName", ")", ")", ...
Log version information about the specified persistence provider, if it can be determined. @param providerName fully qualified class name of JPA persistence provider @param loader class loader with access to the JPA provider classes
[ "Log", "version", "information", "about", "the", "specified", "persistence", "provider", "if", "it", "can", "be", "determined", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jpa.container.core/src/com/ibm/ws/jpa/AbstractJPAProviderIntegration.java#L68-L95
66,633
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/ProvisionerImpl.java
ProvisionerImpl.checkStartStatus
protected void checkStartStatus(BundleStartStatus startStatus) throws InvalidBundleContextException { final String m = "checkInstallStatus"; if (startStatus.startExceptions()) { Map<Bundle, Throwable> startExceptions = startStatus.getStartExceptions(); for (Entry<Bundle, Throwabl...
java
protected void checkStartStatus(BundleStartStatus startStatus) throws InvalidBundleContextException { final String m = "checkInstallStatus"; if (startStatus.startExceptions()) { Map<Bundle, Throwable> startExceptions = startStatus.getStartExceptions(); for (Entry<Bundle, Throwabl...
[ "protected", "void", "checkStartStatus", "(", "BundleStartStatus", "startStatus", ")", "throws", "InvalidBundleContextException", "{", "final", "String", "m", "=", "\"checkInstallStatus\"", ";", "if", "(", "startStatus", ".", "startExceptions", "(", ")", ")", "{", "...
Check the passed in start status for exceptions starting bundles, and issue appropriate diagnostics & messages for this environment. @param startStatus @throws InvalidBundleContextException
[ "Check", "the", "passed", "in", "start", "status", "for", "exceptions", "starting", "bundles", "and", "issue", "appropriate", "diagnostics", "&", "messages", "for", "this", "environment", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/ProvisionerImpl.java#L139-L154
66,634
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/ProvisionerImpl.java
ProvisionerImpl.installBundles
protected BundleInstallStatus installBundles(BootstrapConfig config) throws InvalidBundleContextException { BundleInstallStatus installStatus = new BundleInstallStatus(); KernelResolver resolver = config.getKernelResolver(); ContentBasedLocalBundleRepository repo = BundleRepositoryRegistry.getI...
java
protected BundleInstallStatus installBundles(BootstrapConfig config) throws InvalidBundleContextException { BundleInstallStatus installStatus = new BundleInstallStatus(); KernelResolver resolver = config.getKernelResolver(); ContentBasedLocalBundleRepository repo = BundleRepositoryRegistry.getI...
[ "protected", "BundleInstallStatus", "installBundles", "(", "BootstrapConfig", "config", ")", "throws", "InvalidBundleContextException", "{", "BundleInstallStatus", "installStatus", "=", "new", "BundleInstallStatus", "(", ")", ";", "KernelResolver", "resolver", "=", "config"...
Install framework bundles. @param bundleList Properties describing the bundles to install @oaran config Bootstrap configuration containing information about initial configuration parameters and file locations @return BundleInstallStatus containing details about the bundles installed, exceptions that occurred, bundles ...
[ "Install", "framework", "bundles", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.nested/src/com/ibm/ws/kernel/launch/internal/ProvisionerImpl.java#L220-L241
66,635
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/persistence/dispatcher/SpillDispatcher.java
SpillDispatcher.isHealthy
public synchronized boolean isHealthy() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "isHealthy"); boolean retval = _running && !_stopRequested && (_threadWriteErrorsOutstanding == 0); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled...
java
public synchronized boolean isHealthy() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "isHealthy"); boolean retval = _running && !_stopRequested && (_threadWriteErrorsOutstanding == 0); if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled...
[ "public", "synchronized", "boolean", "isHealthy", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"isHealthy\"", ")", ...
Used as a quick way to check the health of a dispatcher before giving it work in situations in which the work cannot be rejected. For example, for a transaction which requires both synchronous and asynchronous persistence, once we've done the synchronous persistence, a transient persistence problem from a dispatcher wi...
[ "Used", "as", "a", "quick", "way", "to", "check", "the", "health", "of", "a", "dispatcher", "before", "giving", "it", "work", "in", "situations", "in", "which", "the", "work", "cannot", "be", "rejected", ".", "For", "example", "for", "a", "transaction", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/persistence/dispatcher/SpillDispatcher.java#L177-L185
66,636
OpenLiberty/open-liberty
dev/com.ibm.ws.security.audit.file/src/com/ibm/ws/security/audit/file/AuditFileHandler.java
AuditFileHandler.getLogDir
private String getLogDir() { StringBuffer output = new StringBuffer(); WsLocationAdmin locationAdmin = locationAdminRef.getService(); output.append(locationAdmin.resolveString("${server.output.dir}").replace('\\', '/')).append("/logs"); return output.toString(); }
java
private String getLogDir() { StringBuffer output = new StringBuffer(); WsLocationAdmin locationAdmin = locationAdminRef.getService(); output.append(locationAdmin.resolveString("${server.output.dir}").replace('\\', '/')).append("/logs"); return output.toString(); }
[ "private", "String", "getLogDir", "(", ")", "{", "StringBuffer", "output", "=", "new", "StringBuffer", "(", ")", ";", "WsLocationAdmin", "locationAdmin", "=", "locationAdminRef", ".", "getService", "(", ")", ";", "output", ".", "append", "(", "locationAdmin", ...
Get the default directory for logs @return full path String of logs directory
[ "Get", "the", "default", "directory", "for", "logs" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.audit.file/src/com/ibm/ws/security/audit/file/AuditFileHandler.java#L380-L385
66,637
OpenLiberty/open-liberty
dev/com.ibm.ws.security.audit.file/src/com/ibm/ws/security/audit/file/AuditFileHandler.java
AuditFileHandler.mapToJSONString
private String mapToJSONString(Map<String, Object> eventMap) { JSONObject jsonEvent = new JSONObject(); String jsonString = null; map2JSON(jsonEvent, eventMap); try { if (!compact) { jsonString = jsonEvent.serialize(true).replaceAll("\\\\/", "/"); ...
java
private String mapToJSONString(Map<String, Object> eventMap) { JSONObject jsonEvent = new JSONObject(); String jsonString = null; map2JSON(jsonEvent, eventMap); try { if (!compact) { jsonString = jsonEvent.serialize(true).replaceAll("\\\\/", "/"); ...
[ "private", "String", "mapToJSONString", "(", "Map", "<", "String", ",", "Object", ">", "eventMap", ")", "{", "JSONObject", "jsonEvent", "=", "new", "JSONObject", "(", ")", ";", "String", "jsonString", "=", "null", ";", "map2JSON", "(", "jsonEvent", ",", "e...
Produce a JSON String for the given audit event @return
[ "Produce", "a", "JSON", "String", "for", "the", "given", "audit", "event" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.audit.file/src/com/ibm/ws/security/audit/file/AuditFileHandler.java#L392-L408
66,638
OpenLiberty/open-liberty
dev/com.ibm.ws.security.audit.file/src/com/ibm/ws/security/audit/file/AuditFileHandler.java
AuditFileHandler.array2JSON
private JSONArray array2JSON(JSONArray ja, Object[] array) { for (int i = 0; i < array.length; i++) { // array entry is a Map if (array[i] instanceof Map) { //if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { // Tr.debug(tc, "array entr...
java
private JSONArray array2JSON(JSONArray ja, Object[] array) { for (int i = 0; i < array.length; i++) { // array entry is a Map if (array[i] instanceof Map) { //if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { // Tr.debug(tc, "array entr...
[ "private", "JSONArray", "array2JSON", "(", "JSONArray", "ja", ",", "Object", "[", "]", "array", ")", "{", "for", "(", "int", "i", "=", "0", ";", "i", "<", "array", ".", "length", ";", "i", "++", ")", "{", "// array entry is a Map", "if", "(", "array"...
Given a Java array, add the corresponding JSON to the given JSONArray object @param ja - JSONArray object @param array - Java array object
[ "Given", "a", "Java", "array", "add", "the", "corresponding", "JSON", "to", "the", "given", "JSONArray", "object" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.audit.file/src/com/ibm/ws/security/audit/file/AuditFileHandler.java#L482-L507
66,639
OpenLiberty/open-liberty
dev/com.ibm.ws.security.fat.common/src/com/ibm/ws/security/fat/common/servers/ServerBootstrapUtils.java
ServerBootstrapUtils.writeBootstrapProperty
public void writeBootstrapProperty(LibertyServer server, String propKey, String propValue) throws Exception { String bootProps = getBootstrapPropertiesFilePath(server); appendBootstrapPropertyToFile(bootProps, propKey, propValue); }
java
public void writeBootstrapProperty(LibertyServer server, String propKey, String propValue) throws Exception { String bootProps = getBootstrapPropertiesFilePath(server); appendBootstrapPropertyToFile(bootProps, propKey, propValue); }
[ "public", "void", "writeBootstrapProperty", "(", "LibertyServer", "server", ",", "String", "propKey", ",", "String", "propValue", ")", "throws", "Exception", "{", "String", "bootProps", "=", "getBootstrapPropertiesFilePath", "(", "server", ")", ";", "appendBootstrapPr...
Writes the specified bootstrap property and value to the provided server's bootstrap.properties file.
[ "Writes", "the", "specified", "bootstrap", "property", "and", "value", "to", "the", "provided", "server", "s", "bootstrap", ".", "properties", "file", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.fat.common/src/com/ibm/ws/security/fat/common/servers/ServerBootstrapUtils.java#L21-L24
66,640
OpenLiberty/open-liberty
dev/com.ibm.ws.security.fat.common/src/com/ibm/ws/security/fat/common/servers/ServerBootstrapUtils.java
ServerBootstrapUtils.writeBootstrapProperties
public void writeBootstrapProperties(LibertyServer server, Map<String, String> miscParms) throws Exception { String thisMethod = "writeBootstrapProperties"; loggingUtils.printMethodName(thisMethod); if (miscParms == null) { return; } String bootPropFilePath = getBoot...
java
public void writeBootstrapProperties(LibertyServer server, Map<String, String> miscParms) throws Exception { String thisMethod = "writeBootstrapProperties"; loggingUtils.printMethodName(thisMethod); if (miscParms == null) { return; } String bootPropFilePath = getBoot...
[ "public", "void", "writeBootstrapProperties", "(", "LibertyServer", "server", ",", "Map", "<", "String", ",", "String", ">", "miscParms", ")", "throws", "Exception", "{", "String", "thisMethod", "=", "\"writeBootstrapProperties\"", ";", "loggingUtils", ".", "printMe...
Writes each of the specified bootstrap properties and values to the provided server's bootstrap.properties file.
[ "Writes", "each", "of", "the", "specified", "bootstrap", "properties", "and", "values", "to", "the", "provided", "server", "s", "bootstrap", ".", "properties", "file", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.fat.common/src/com/ibm/ws/security/fat/common/servers/ServerBootstrapUtils.java#L29-L40
66,641
OpenLiberty/open-liberty
dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/jta/embeddable/impl/WSATRecoveryCoordinator.java
WSATRecoveryCoordinator.fromLogData
public static WSATRecoveryCoordinator fromLogData(byte[] bytes) throws SystemException { if (tc.isEntryEnabled()) Tr.entry(tc, "fromLogData", bytes); WSATRecoveryCoordinator wsatRC = null; final ByteArrayInputStream bais = new ByteArrayInputStream(bytes); try { f...
java
public static WSATRecoveryCoordinator fromLogData(byte[] bytes) throws SystemException { if (tc.isEntryEnabled()) Tr.entry(tc, "fromLogData", bytes); WSATRecoveryCoordinator wsatRC = null; final ByteArrayInputStream bais = new ByteArrayInputStream(bytes); try { f...
[ "public", "static", "WSATRecoveryCoordinator", "fromLogData", "(", "byte", "[", "]", "bytes", ")", "throws", "SystemException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"fromLogData\"", ",", "bytes", ...
As called after recovery on distributed platform
[ "As", "called", "after", "recovery", "on", "distributed", "platform" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/jta/embeddable/impl/WSATRecoveryCoordinator.java#L60-L82
66,642
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/jaxrs2/DefaultParameterExtension.java
DefaultParameterExtension.handleAdditionalAnnotation
private boolean handleAdditionalAnnotation(List<Parameter> parameters, Annotation annotation, final Type type, Set<Type> typesToSkip, javax.ws.rs.Consumes classConsumes, javax.ws.rs.Consumes methodConsumes, Components componen...
java
private boolean handleAdditionalAnnotation(List<Parameter> parameters, Annotation annotation, final Type type, Set<Type> typesToSkip, javax.ws.rs.Consumes classConsumes, javax.ws.rs.Consumes methodConsumes, Components componen...
[ "private", "boolean", "handleAdditionalAnnotation", "(", "List", "<", "Parameter", ">", "parameters", ",", "Annotation", "annotation", ",", "final", "Type", "type", ",", "Set", "<", "Type", ">", "typesToSkip", ",", "javax", ".", "ws", ".", "rs", ".", "Consum...
Adds additional annotation processing support @param parameters @param annotation @param type @param typesToSkip
[ "Adds", "additional", "annotation", "processing", "support" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/jaxrs2/DefaultParameterExtension.java#L153-L241
66,643
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/modelresolver/impl/AbstractPropertyResolver.java
AbstractPropertyResolver.replaceAllProperties
protected String replaceAllProperties(String str, final Properties submittedProps, final Properties xmlProperties) { int startIndex = 0; NextProperty nextProp = this.findNextProperty(str, startIndex); while (nextProp != null) { // get the start index past this property for the next property in //...
java
protected String replaceAllProperties(String str, final Properties submittedProps, final Properties xmlProperties) { int startIndex = 0; NextProperty nextProp = this.findNextProperty(str, startIndex); while (nextProp != null) { // get the start index past this property for the next property in //...
[ "protected", "String", "replaceAllProperties", "(", "String", "str", ",", "final", "Properties", "submittedProps", ",", "final", "Properties", "xmlProperties", ")", "{", "int", "startIndex", "=", "0", ";", "NextProperty", "nextProp", "=", "this", ".", "findNextPro...
Replace all the properties in String str. @param str @param submittedProps @param xmlProperties @return
[ "Replace", "all", "the", "properties", "in", "String", "str", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/modelresolver/impl/AbstractPropertyResolver.java#L108-L166
66,644
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/modelresolver/impl/AbstractPropertyResolver.java
AbstractPropertyResolver.resolvePropertyValue
private String resolvePropertyValue(final String name, PROPERTY_TYPE propType, final Properties submittedProperties, final Properties xmlProperties) { String value = null; switch(propType) { case JOB_PARAMETERS: if (submittedProperties != null) { value = submittedProperties.getProperty(name)...
java
private String resolvePropertyValue(final String name, PROPERTY_TYPE propType, final Properties submittedProperties, final Properties xmlProperties) { String value = null; switch(propType) { case JOB_PARAMETERS: if (submittedProperties != null) { value = submittedProperties.getProperty(name)...
[ "private", "String", "resolvePropertyValue", "(", "final", "String", "name", ",", "PROPERTY_TYPE", "propType", ",", "final", "Properties", "submittedProperties", ",", "final", "Properties", "xmlProperties", ")", "{", "String", "value", "=", "null", ";", "switch", ...
Gets the value of a property using the property type If the property 'propname' is not defined the String 'null' (without quotes) is returned as the value @param name @return
[ "Gets", "the", "value", "of", "a", "property", "using", "the", "property", "type" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/modelresolver/impl/AbstractPropertyResolver.java#L177-L221
66,645
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/modelresolver/impl/AbstractPropertyResolver.java
AbstractPropertyResolver.inheritProperties
private Properties inheritProperties(final Properties parentProps, final Properties childProps) { if (parentProps == null) { return childProps; } if (childProps == null) { return parentProps; } for (final String parentKey : parentProps.stringPropertyNames()) { // Add the parent property to the ...
java
private Properties inheritProperties(final Properties parentProps, final Properties childProps) { if (parentProps == null) { return childProps; } if (childProps == null) { return parentProps; } for (final String parentKey : parentProps.stringPropertyNames()) { // Add the parent property to the ...
[ "private", "Properties", "inheritProperties", "(", "final", "Properties", "parentProps", ",", "final", "Properties", "childProps", ")", "{", "if", "(", "parentProps", "==", "null", ")", "{", "return", "childProps", ";", "}", "if", "(", "childProps", "==", "nul...
Merge the parent properties that are already set into the child properties. Child properties always override parent values. @param parentProps A set of already resolved parent properties @param childProps A set of already resolved child properties @return
[ "Merge", "the", "parent", "properties", "that", "are", "already", "set", "into", "the", "child", "properties", ".", "Child", "properties", "always", "override", "parent", "values", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/modelresolver/impl/AbstractPropertyResolver.java#L233-L255
66,646
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/wsspi/webcontainer/util/BufferedWriter.java
BufferedWriter.isCommitted
public boolean isCommitted() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { // 306998.15 Tr.debug(tc, "isCommitted: " + committed); } return committed; }
java
public boolean isCommitted() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { // 306998.15 Tr.debug(tc, "isCommitted: " + committed); } return committed; }
[ "public", "boolean", "isCommitted", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "// 306998.15", "Tr", ".", "debug", "(", "tc", ",", "\"isCommitted: \"", "+", "comm...
Returns whether the output has been committed or not.
[ "Returns", "whether", "the", "output", "has", "been", "committed", "or", "not", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/wsspi/webcontainer/util/BufferedWriter.java#L265-L272
66,647
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/wsspi/webcontainer/util/BufferedWriter.java
BufferedWriter.write
public void write(int c) throws IOException { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { // 306998.15 Tr.debug(tc, "write --> " + c); } if (!_hasWritten && obs != null) { _hasWritten = true; obs.alertFirstWrite(); ...
java
public void write(int c) throws IOException { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { // 306998.15 Tr.debug(tc, "write --> " + c); } if (!_hasWritten && obs != null) { _hasWritten = true; obs.alertFirstWrite(); ...
[ "public", "void", "write", "(", "int", "c", ")", "throws", "IOException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "// 306998.15", "Tr", ".", "debug", "(", "tc", ",", ...
Writes a char. This method will block until the char is actually written. @param b the char @exception IOException if an I/O error has occurred
[ "Writes", "a", "char", ".", "This", "method", "will", "block", "until", "the", "char", "is", "actually", "written", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/wsspi/webcontainer/util/BufferedWriter.java#L300-L328
66,648
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/wsspi/webcontainer/util/BufferedWriter.java
BufferedWriter.flushChars
protected void flushChars() throws IOException { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { // 306998.15 Tr.debug(tc, "flushChars"); } if (!committed) { if (!_hasFlushed && obs != null) { _hasFlushed...
java
protected void flushChars() throws IOException { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { // 306998.15 Tr.debug(tc, "flushChars"); } if (!committed) { if (!_hasFlushed && obs != null) { _hasFlushed...
[ "protected", "void", "flushChars", "(", ")", "throws", "IOException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "// 306998.15", "Tr", ".", "debug", "(", "tc", ",", "\"flus...
Flushes the writer chars.
[ "Flushes", "the", "writer", "chars", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/wsspi/webcontainer/util/BufferedWriter.java#L495-L540
66,649
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/FilterList.java
FilterList.addAddressToList
private void addAddressToList(String newAddress, boolean validateOnly) { int start = 0; char delimiter = '.'; String sub; int radix = 10; // Address initially set to all zeroes int addressToAdd[] = new int[IP_ADDR_NUMBERS]; for (int i = 0; i < IP_ADDR_NUMBERS; i+...
java
private void addAddressToList(String newAddress, boolean validateOnly) { int start = 0; char delimiter = '.'; String sub; int radix = 10; // Address initially set to all zeroes int addressToAdd[] = new int[IP_ADDR_NUMBERS]; for (int i = 0; i < IP_ADDR_NUMBERS; i+...
[ "private", "void", "addAddressToList", "(", "String", "newAddress", ",", "boolean", "validateOnly", ")", "{", "int", "start", "=", "0", ";", "char", "delimiter", "=", "'", "'", ";", "String", "sub", ";", "int", "radix", "=", "10", ";", "// Address initiall...
Add one IPv4 or IPv6 address to the tree. The address is passed in as a string and converted to an integer array by this routine. Another method is then called to put it into the tree @param newAddress address to add
[ "Add", "one", "IPv4", "or", "IPv6", "address", "to", "the", "tree", ".", "The", "address", "is", "passed", "in", "as", "a", "string", "and", "converted", "to", "an", "integer", "array", "by", "this", "routine", ".", "Another", "method", "is", "then", "...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/FilterList.java#L79-L126
66,650
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/FilterList.java
FilterList.findInList
public boolean findInList(byte[] address) { int len = address.length; int a[] = new int[len]; for (int i = 0; i < len; i++) { // convert possible negative byte value to positive int a[i] = address[i] & 0x00FF; } return findInList(a); }
java
public boolean findInList(byte[] address) { int len = address.length; int a[] = new int[len]; for (int i = 0; i < len; i++) { // convert possible negative byte value to positive int a[i] = address[i] & 0x00FF; } return findInList(a); }
[ "public", "boolean", "findInList", "(", "byte", "[", "]", "address", ")", "{", "int", "len", "=", "address", ".", "length", ";", "int", "a", "[", "]", "=", "new", "int", "[", "len", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "...
Determine if an address, represented by a byte array, is in the address tree @param address byte array representing the address, leftmost number in the address should start at array offset 0. @return true if this address is found in the address tree, false if it is not.
[ "Determine", "if", "an", "address", "represented", "by", "a", "byte", "array", "is", "in", "the", "address", "tree" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/FilterList.java#L175-L185
66,651
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/FilterList.java
FilterList.findInList6
public boolean findInList6(byte[] address) { int len = address.length; int a[] = new int[len / 2]; // IPv6, need to combine every two bytes to the ints int j = 0; int highOrder = 0; int lowOrder = 0; for (int i = 0; i < len; i += 2) { // convert possi...
java
public boolean findInList6(byte[] address) { int len = address.length; int a[] = new int[len / 2]; // IPv6, need to combine every two bytes to the ints int j = 0; int highOrder = 0; int lowOrder = 0; for (int i = 0; i < len; i += 2) { // convert possi...
[ "public", "boolean", "findInList6", "(", "byte", "[", "]", "address", ")", "{", "int", "len", "=", "address", ".", "length", ";", "int", "a", "[", "]", "=", "new", "int", "[", "len", "/", "2", "]", ";", "// IPv6, need to combine every two bytes to the ints...
Determine if an IPv6 address, represented by a byte array, is in the address tree @param address byte array representing the address, leftmost number in the address should start at array offset 0. Two bytes form 1 number of the address, bytes assumed to be in network order @return true if this address is found in the ...
[ "Determine", "if", "an", "IPv6", "address", "represented", "by", "a", "byte", "array", "is", "in", "the", "address", "tree" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/FilterList.java#L199-L216
66,652
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/FilterList.java
FilterList.findInList
public boolean findInList(int[] address) { int len = address.length; if (len < IP_ADDR_NUMBERS) { int j = IP_ADDR_NUMBERS - 1; // for performace, hard code the size here int a[] = { 0, 0, 0, 0, 0, 0, 0, 0 }; // int a[] = new int[IP_ADDR_NUMBERS]; ...
java
public boolean findInList(int[] address) { int len = address.length; if (len < IP_ADDR_NUMBERS) { int j = IP_ADDR_NUMBERS - 1; // for performace, hard code the size here int a[] = { 0, 0, 0, 0, 0, 0, 0, 0 }; // int a[] = new int[IP_ADDR_NUMBERS]; ...
[ "public", "boolean", "findInList", "(", "int", "[", "]", "address", ")", "{", "int", "len", "=", "address", ".", "length", ";", "if", "(", "len", "<", "IP_ADDR_NUMBERS", ")", "{", "int", "j", "=", "IP_ADDR_NUMBERS", "-", "1", ";", "// for performace, har...
Determine if an address, represented by an integer array, is in the address tree @param address integer array representing the address, leftmost number in the address should start at array offset 0. @return true if this address is found in the address tree, false if it is not.
[ "Determine", "if", "an", "address", "represented", "by", "an", "integer", "array", "is", "in", "the", "address", "tree" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/FilterList.java#L228-L249
66,653
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/FilterList.java
FilterList.findInList
private boolean findInList(int[] address, int index, FilterCell cell, int endIndex) { if (cell.getWildcardCell() != null) { // first look at wildcard slot if (index == endIndex) { // at the end, so we found a match, unwind returning true return true; ...
java
private boolean findInList(int[] address, int index, FilterCell cell, int endIndex) { if (cell.getWildcardCell() != null) { // first look at wildcard slot if (index == endIndex) { // at the end, so we found a match, unwind returning true return true; ...
[ "private", "boolean", "findInList", "(", "int", "[", "]", "address", ",", "int", "index", ",", "FilterCell", "cell", ",", "int", "endIndex", ")", "{", "if", "(", "cell", ".", "getWildcardCell", "(", ")", "!=", "null", ")", "{", "// first look at wildcard s...
Determine, recursively, if an address, represented by an integer array, is in the address tree @param address integer array representing the address, leftmost number in the address should start at array offset 0. IPv4 address should be padded LEFT with zeroes. @param index the next index in the address array of the nu...
[ "Determine", "recursively", "if", "an", "address", "represented", "by", "an", "integer", "array", "is", "in", "the", "address", "tree" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/FilterList.java#L270-L311
66,654
OpenLiberty/open-liberty
dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/bci/CheckInstrumentableClassAdapter.java
CheckInstrumentableClassAdapter.isInstrumentableMethod
public boolean isInstrumentableMethod(int access, String methodName, String descriptor) { if ((access & Opcodes.ACC_SYNTHETIC) != 0) { return false; } if ((access & Opcodes.ACC_NATIVE) != 0) { return false; } if ((access & Opcodes.ACC_ABSTRACT) != 0) { ...
java
public boolean isInstrumentableMethod(int access, String methodName, String descriptor) { if ((access & Opcodes.ACC_SYNTHETIC) != 0) { return false; } if ((access & Opcodes.ACC_NATIVE) != 0) { return false; } if ((access & Opcodes.ACC_ABSTRACT) != 0) { ...
[ "public", "boolean", "isInstrumentableMethod", "(", "int", "access", ",", "String", "methodName", ",", "String", "descriptor", ")", "{", "if", "(", "(", "access", "&", "Opcodes", ".", "ACC_SYNTHETIC", ")", "!=", "0", ")", "{", "return", "false", ";", "}", ...
Indicate whether or not the target method is instrumentable. @param access the method property flags @param methodName the name of the method @return true if the method is not synthetic, is not native, and is not named toString or hashCode.
[ "Indicate", "whether", "or", "not", "the", "target", "method", "is", "instrumentable", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/bci/CheckInstrumentableClassAdapter.java#L108-L125
66,655
OpenLiberty/open-liberty
dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtBadMPConfigAsSystemProperties.java
MPJwtBadMPConfigAsSystemProperties.MPJwtBadMPConfigAsSystemProperties_GoodMpJwtConfigSpecifiedInServerXml
@Mode(TestMode.LITE) @Test public void MPJwtBadMPConfigAsSystemProperties_GoodMpJwtConfigSpecifiedInServerXml() throws Exception { resourceServer.reconfigureServerUsingExpandedConfiguration(_testName, "rs_server_AltConfigNotInApp_goodServerXmlConfig.xml"); standardTestFlow(resourceServer, MpJwt...
java
@Mode(TestMode.LITE) @Test public void MPJwtBadMPConfigAsSystemProperties_GoodMpJwtConfigSpecifiedInServerXml() throws Exception { resourceServer.reconfigureServerUsingExpandedConfiguration(_testName, "rs_server_AltConfigNotInApp_goodServerXmlConfig.xml"); standardTestFlow(resourceServer, MpJwt...
[ "@", "Mode", "(", "TestMode", ".", "LITE", ")", "@", "Test", "public", "void", "MPJwtBadMPConfigAsSystemProperties_GoodMpJwtConfigSpecifiedInServerXml", "(", ")", "throws", "Exception", "{", "resourceServer", ".", "reconfigureServerUsingExpandedConfiguration", "(", "_testNa...
The server will be started with all mp-config properties incorrectly configured in the jvm.options file. The server.xml has a valid mp_jwt config specified. The config settings should come from server.xml. The test should run successfully . @throws Exception
[ "The", "server", "will", "be", "started", "with", "all", "mp", "-", "config", "properties", "incorrectly", "configured", "in", "the", "jvm", ".", "options", "file", ".", "The", "server", ".", "xml", "has", "a", "valid", "mp_jwt", "config", "specified", "."...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.mp.jwt_fat/fat/src/com/ibm/ws/security/mp/jwt/fat/MPJwtBadMPConfigAsSystemProperties.java#L67-L75
66,656
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java
PartitionedStepControllerImpl.stop
@Override @FFDCIgnore(JobExecutionNotRunningException.class) public void stop() { StopLock stopLock = getStopLock(); // Store in local variable to facilitate Ctrl+Shift+G search in Eclipse synchronized (stopLock) { if (isStepStartingOrStarted()) { updateStepBatchSta...
java
@Override @FFDCIgnore(JobExecutionNotRunningException.class) public void stop() { StopLock stopLock = getStopLock(); // Store in local variable to facilitate Ctrl+Shift+G search in Eclipse synchronized (stopLock) { if (isStepStartingOrStarted()) { updateStepBatchSta...
[ "@", "Override", "@", "FFDCIgnore", "(", "JobExecutionNotRunningException", ".", "class", ")", "public", "void", "stop", "(", ")", "{", "StopLock", "stopLock", "=", "getStopLock", "(", ")", ";", "// Store in local variable to facilitate Ctrl+Shift+G search in Eclipse", ...
The body of this method is synchronized with startPartition to close timing windows so that a new partition doesn't get started after this method has gone thru and stopped all currently running partitions.
[ "The", "body", "of", "this", "method", "is", "synchronized", "with", "startPartition", "to", "close", "timing", "windows", "so", "that", "a", "new", "partition", "doesn", "t", "get", "started", "after", "this", "method", "has", "gone", "thru", "and", "stoppe...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java#L194-L227
66,657
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java
PartitionedStepControllerImpl.setExecutionTypeIfNotSet
private void setExecutionTypeIfNotSet(ExecutionType executionType) { if (this.executionType == null) { logger.finer("Setting initial execution type value"); this.executionType = executionType; } else { logger.finer("Not setting execution type value since it's already ...
java
private void setExecutionTypeIfNotSet(ExecutionType executionType) { if (this.executionType == null) { logger.finer("Setting initial execution type value"); this.executionType = executionType; } else { logger.finer("Not setting execution type value since it's already ...
[ "private", "void", "setExecutionTypeIfNotSet", "(", "ExecutionType", "executionType", ")", "{", "if", "(", "this", ".", "executionType", "==", "null", ")", "{", "logger", ".", "finer", "(", "\"Setting initial execution type value\"", ")", ";", "this", ".", "execut...
We could be more aggressive about validating illegal states and throwing exceptions here.
[ "We", "could", "be", "more", "aggressive", "about", "validating", "illegal", "states", "and", "throwing", "exceptions", "here", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java#L380-L387
66,658
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java
PartitionedStepControllerImpl.validatePlanNumberOfPartitions
private void validatePlanNumberOfPartitions(PartitionPlanDescriptor currentPlan) { int numPreviousPartitions = getTopLevelStepInstance().getPartitionPlanSize(); int numCurrentPartitions = currentPlan.getNumPartitionsInPlan(); if (logger.isLoggable(Level.FINE)) { logger.fine("For st...
java
private void validatePlanNumberOfPartitions(PartitionPlanDescriptor currentPlan) { int numPreviousPartitions = getTopLevelStepInstance().getPartitionPlanSize(); int numCurrentPartitions = currentPlan.getNumPartitionsInPlan(); if (logger.isLoggable(Level.FINE)) { logger.fine("For st...
[ "private", "void", "validatePlanNumberOfPartitions", "(", "PartitionPlanDescriptor", "currentPlan", ")", "{", "int", "numPreviousPartitions", "=", "getTopLevelStepInstance", "(", ")", ".", "getPartitionPlanSize", "(", ")", ";", "int", "numCurrentPartitions", "=", "current...
Verify the number of partitions in the plan makes sense. @throws IllegalArgumentException if it doesn't make sense.
[ "Verify", "the", "number", "of", "partitions", "in", "the", "plan", "makes", "sense", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java#L465-L486
66,659
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java
PartitionedStepControllerImpl.isStoppingStoppedOrFailed
private boolean isStoppingStoppedOrFailed() { BatchStatus jobBatchStatus = runtimeWorkUnitExecution.getBatchStatus(); if (jobBatchStatus.equals(BatchStatus.STOPPING) || jobBatchStatus.equals(BatchStatus.STOPPED) || jobBatchStatus.equals(BatchStatus.FAILED)) { return true; } ...
java
private boolean isStoppingStoppedOrFailed() { BatchStatus jobBatchStatus = runtimeWorkUnitExecution.getBatchStatus(); if (jobBatchStatus.equals(BatchStatus.STOPPING) || jobBatchStatus.equals(BatchStatus.STOPPED) || jobBatchStatus.equals(BatchStatus.FAILED)) { return true; } ...
[ "private", "boolean", "isStoppingStoppedOrFailed", "(", ")", "{", "BatchStatus", "jobBatchStatus", "=", "runtimeWorkUnitExecution", ".", "getBatchStatus", "(", ")", ";", "if", "(", "jobBatchStatus", ".", "equals", "(", "BatchStatus", ".", "STOPPING", ")", "||", "j...
Today we know the PartitionedStepControllerImpl always runs in the JVM of the top-level job, and so will be notified on the top-level stop. Doing xJVM split-flow would be more complicated, since not only do we lose the single JVM for the top-level job, the split and the child flows........we also can't count on the to...
[ "Today", "we", "know", "the", "PartitionedStepControllerImpl", "always", "runs", "in", "the", "JVM", "of", "the", "top", "-", "level", "job", "and", "so", "will", "be", "notified", "on", "the", "top", "-", "level", "stop", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java#L567-L574
66,660
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java
PartitionedStepControllerImpl.partitionFinished
private void partitionFinished(PartitionReplyMsg msg) { JoblogUtil.logToJobLogAndTraceOnly(Level.FINE, "partition.ended", new Object[] { msg.getPartitionPlanConfig().getPartitionNumber(), ...
java
private void partitionFinished(PartitionReplyMsg msg) { JoblogUtil.logToJobLogAndTraceOnly(Level.FINE, "partition.ended", new Object[] { msg.getPartitionPlanConfig().getPartitionNumber(), ...
[ "private", "void", "partitionFinished", "(", "PartitionReplyMsg", "msg", ")", "{", "JoblogUtil", ".", "logToJobLogAndTraceOnly", "(", "Level", ".", "FINE", ",", "\"partition.ended\"", ",", "new", "Object", "[", "]", "{", "msg", ".", "getPartitionPlanConfig", "(", ...
Issue message for partition finished and add it to the finishedWork list.
[ "Issue", "message", "for", "partition", "finished", "and", "add", "it", "to", "the", "finishedWork", "list", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java#L666-L678
66,661
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java
PartitionedStepControllerImpl.waitForNextPartitionToFinish
private void waitForNextPartitionToFinish(List<Throwable> analyzerExceptions, List<Integer> finishedPartitions) throws JobStoppingException { //Use this counter to count the number of cycles we recieve jms reply message boolean isStoppingStoppedOrFailed = false; PartitionReplyMsg msg = null; ...
java
private void waitForNextPartitionToFinish(List<Throwable> analyzerExceptions, List<Integer> finishedPartitions) throws JobStoppingException { //Use this counter to count the number of cycles we recieve jms reply message boolean isStoppingStoppedOrFailed = false; PartitionReplyMsg msg = null; ...
[ "private", "void", "waitForNextPartitionToFinish", "(", "List", "<", "Throwable", ">", "analyzerExceptions", ",", "List", "<", "Integer", ">", "finishedPartitions", ")", "throws", "JobStoppingException", "{", "//Use this counter to count the number of cycles we recieve jms repl...
Wait and process the data sent back by the partitions. This method returns as soon as the next partition sends back an "i'm finished" message. @param analyzerExceptions collects any exceptions thrown by the user-supplied Analyzer @param finishedPartitions @return the partition number of the finished partition
[ "Wait", "and", "process", "the", "data", "sent", "back", "by", "the", "partitions", ".", "This", "method", "returns", "as", "soon", "as", "the", "next", "partition", "sends", "back", "an", "i", "m", "finished", "message", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java#L754-L821
66,662
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java
PartitionedStepControllerImpl.executeAndWaitForCompletion
@FFDCIgnore(JobStoppingException.class) private void executeAndWaitForCompletion(PartitionPlanDescriptor currentPlan) throws JobRestartException { if (isStoppingStoppedOrFailed()) { logger.fine("Job already in " + runtimeWorkUnitExecution.getWorkUnitJobContext().getBatchS...
java
@FFDCIgnore(JobStoppingException.class) private void executeAndWaitForCompletion(PartitionPlanDescriptor currentPlan) throws JobRestartException { if (isStoppingStoppedOrFailed()) { logger.fine("Job already in " + runtimeWorkUnitExecution.getWorkUnitJobContext().getBatchS...
[ "@", "FFDCIgnore", "(", "JobStoppingException", ".", "class", ")", "private", "void", "executeAndWaitForCompletion", "(", "PartitionPlanDescriptor", "currentPlan", ")", "throws", "JobRestartException", "{", "if", "(", "isStoppingStoppedOrFailed", "(", ")", ")", "{", "...
Spawn the partitions and wait for them to complete.
[ "Spawn", "the", "partitions", "and", "wait", "for", "them", "to", "complete", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java#L858-L900
66,663
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java
PartitionedStepControllerImpl.checkFinishedPartitions
private void checkFinishedPartitions() { List<String> failingPartitionSeen = new ArrayList<String>(); boolean stoppedPartitionSeen = false; for (PartitionReplyMsg replyMsg : finishedWork) { BatchStatus batchStatus = replyMsg.getBatchStatus(); if (logger.isLoggable(Leve...
java
private void checkFinishedPartitions() { List<String> failingPartitionSeen = new ArrayList<String>(); boolean stoppedPartitionSeen = false; for (PartitionReplyMsg replyMsg : finishedWork) { BatchStatus batchStatus = replyMsg.getBatchStatus(); if (logger.isLoggable(Leve...
[ "private", "void", "checkFinishedPartitions", "(", ")", "{", "List", "<", "String", ">", "failingPartitionSeen", "=", "new", "ArrayList", "<", "String", ">", "(", ")", ";", "boolean", "stoppedPartitionSeen", "=", "false", ";", "for", "(", "PartitionReplyMsg", ...
check the batch status of each subJob after it's done to see if we need to issue a rollback start rollback if any have stopped or failed
[ "check", "the", "batch", "status", "of", "each", "subJob", "after", "it", "s", "done", "to", "see", "if", "we", "need", "to", "issue", "a", "rollback", "start", "rollback", "if", "any", "have", "stopped", "or", "failed" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java#L906-L956
66,664
OpenLiberty/open-liberty
dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java
PartitionedStepControllerImpl.invokePreStepArtifacts
@Override protected void invokePreStepArtifacts() { if (stepListeners != null) { for (StepListenerProxy listenerProxy : stepListeners) { // Call beforeStep on all the step listeners listenerProxy.beforeStep(); } } // Invoke the reduce...
java
@Override protected void invokePreStepArtifacts() { if (stepListeners != null) { for (StepListenerProxy listenerProxy : stepListeners) { // Call beforeStep on all the step listeners listenerProxy.beforeStep(); } } // Invoke the reduce...
[ "@", "Override", "protected", "void", "invokePreStepArtifacts", "(", ")", "{", "if", "(", "stepListeners", "!=", "null", ")", "{", "for", "(", "StepListenerProxy", "listenerProxy", ":", "stepListeners", ")", "{", "// Call beforeStep on all the step listeners", "listen...
Invoke the StepListeners and PartitionReducer.
[ "Invoke", "the", "StepListeners", "and", "PartitionReducer", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/controller/impl/PartitionedStepControllerImpl.java#L1018-L1033
66,665
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/jaxrs/utils/ResourceUtils.java
ResourceUtils.getClassNameandPath
private static String getClassNameandPath (String className, Path path) { if (path == null) { return getClassNameandPath(className, "/"); } else { return getClassNameandPath(className, path.value()); } }
java
private static String getClassNameandPath (String className, Path path) { if (path == null) { return getClassNameandPath(className, "/"); } else { return getClassNameandPath(className, path.value()); } }
[ "private", "static", "String", "getClassNameandPath", "(", "String", "className", ",", "Path", "path", ")", "{", "if", "(", "path", "==", "null", ")", "{", "return", "getClassNameandPath", "(", "className", ",", "\"/\"", ")", ";", "}", "else", "{", "return...
start Liberty change
[ "start", "Liberty", "change" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/jaxrs/utils/ResourceUtils.java#L549-L555
66,666
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/jaxrs/utils/ResourceUtils.java
ResourceUtils.checkMethodDispatcher
private static boolean checkMethodDispatcher(ClassResourceInfo cr) { if (cr.getMethodDispatcher().getOperationResourceInfos().isEmpty()) { LOG.warning(new org.apache.cxf.common.i18n.Message("NO_RESOURCE_OP_EXC", BUNDLE, ...
java
private static boolean checkMethodDispatcher(ClassResourceInfo cr) { if (cr.getMethodDispatcher().getOperationResourceInfos().isEmpty()) { LOG.warning(new org.apache.cxf.common.i18n.Message("NO_RESOURCE_OP_EXC", BUNDLE, ...
[ "private", "static", "boolean", "checkMethodDispatcher", "(", "ClassResourceInfo", "cr", ")", "{", "if", "(", "cr", ".", "getMethodDispatcher", "(", ")", ".", "getOperationResourceInfos", "(", ")", ".", "isEmpty", "(", ")", ")", "{", "LOG", ".", "warning", "...
end Liberty change
[ "end", "Liberty", "change" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/jaxrs/utils/ResourceUtils.java#L575-L583
66,667
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/util/PoolManagerImpl.java
PoolManagerImpl.run
public void run() { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isDebugEnabled()) Tr.entry(tc, "run"); int numPools; synchronized (this) { if (ivIsCanceled) { return; } ...
java
public void run() { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isDebugEnabled()) Tr.entry(tc, "run"); int numPools; synchronized (this) { if (ivIsCanceled) { return; } ...
[ "public", "void", "run", "(", ")", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"...
Handle the scavenger alarm. Scan the list of pools and drain all inactive ones.
[ "Handle", "the", "scavenger", "alarm", ".", "Scan", "the", "list", "of", "pools", "and", "drain", "all", "inactive", "ones", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/util/PoolManagerImpl.java#L61-L129
66,668
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcPreparedStatement.java
WSJdbcPreparedStatement.addBatch
private Object addBatch(Object implObject, Method method, Object[] args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, SQLException { Object sqljPstmt = args[0]; final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); ...
java
private Object addBatch(Object implObject, Method method, Object[] args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, SQLException { Object sqljPstmt = args[0]; final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); ...
[ "private", "Object", "addBatch", "(", "Object", "implObject", ",", "Method", "method", ",", "Object", "[", "]", "args", ")", "throws", "IllegalAccessException", ",", "IllegalArgumentException", ",", "InvocationTargetException", ",", "SQLException", "{", "Object", "s...
Invokes addBatch after replacing the parameter with the DB2 impl object if proxied. @param implObject the instance on which the operation is invoked. @param method the method that is invoked. @param args the parameters to the method. @throws IllegalAccessException if the method is inaccessible. @throws IllegalArgumen...
[ "Invokes", "addBatch", "after", "replacing", "the", "parameter", "with", "the", "DB2", "impl", "object", "if", "proxied", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcPreparedStatement.java#L201-L219
66,669
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcPreparedStatement.java
WSJdbcPreparedStatement.executeBatch
private Object executeBatch(Object implObject, Method method, Object[] args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, SQLException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.is...
java
private Object executeBatch(Object implObject, Method method, Object[] args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, SQLException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.is...
[ "private", "Object", "executeBatch", "(", "Object", "implObject", ",", "Method", "method", ",", "Object", "[", "]", "args", ")", "throws", "IllegalAccessException", ",", "IllegalArgumentException", ",", "InvocationTargetException", ",", "SQLException", "{", "final", ...
Invokes executeBatch and after closing any previous result sets and ensuring statement properties are up-to-date. @param implObject the instance on which the operation is invoked. @param method the method that is invoked. @param args the parameters to the method. @throws IllegalAccessException if the method is inacce...
[ "Invokes", "executeBatch", "and", "after", "closing", "any", "previous", "result", "sets", "and", "ensuring", "statement", "properties", "are", "up", "-", "to", "-", "date", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcPreparedStatement.java#L430-L453
66,670
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcPreparedStatement.java
WSJdbcPreparedStatement.getReturnResultSet
private Object getReturnResultSet(Object implObject, Method method) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, SQLException { final boolean trace = TraceComponent.isAnyTracingEnabled(); if (trace && tc.isEntryEnabled()) ...
java
private Object getReturnResultSet(Object implObject, Method method) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, SQLException { final boolean trace = TraceComponent.isAnyTracingEnabled(); if (trace && tc.isEntryEnabled()) ...
[ "private", "Object", "getReturnResultSet", "(", "Object", "implObject", ",", "Method", "method", ")", "throws", "IllegalAccessException", ",", "IllegalArgumentException", ",", "InvocationTargetException", ",", "SQLException", "{", "final", "boolean", "trace", "=", "Trac...
Invokes getReturnResultSet and wraps the result set. @param implObject the instance on which the operation is invoked. @param method the method that is invoked. @throws IllegalAccessException if the method is inaccessible. @throws IllegalArgumentException if the instance does not have the method or if the method argu...
[ "Invokes", "getReturnResultSet", "and", "wraps", "the", "result", "set", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcPreparedStatement.java#L589-L619
66,671
OpenLiberty/open-liberty
dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcPreparedStatement.java
WSJdbcPreparedStatement.invoke
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { if (!haveStatementPropertiesChanged && VENDOR_PROPERTY_SETTERS.contains(method.getName())) { haveStatementPropertiesChanged = true; } // The SQLJ programming model indicates that getSection s...
java
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { if (!haveStatementPropertiesChanged && VENDOR_PROPERTY_SETTERS.contains(method.getName())) { haveStatementPropertiesChanged = true; } // The SQLJ programming model indicates that getSection s...
[ "public", "Object", "invoke", "(", "Object", "proxy", ",", "Method", "method", ",", "Object", "[", "]", "args", ")", "throws", "Throwable", "{", "if", "(", "!", "haveStatementPropertiesChanged", "&&", "VENDOR_PROPERTY_SETTERS", ".", "contains", "(", "method", ...
Intercept the proxy handler to detect changes to statement properties that must be reset on cached statements. @param proxy the dynamic proxy. @param method the method being invoked. @param args the parameters to the method. @return the result of invoking the operation on the underlying object. @throws Throwable if s...
[ "Intercept", "the", "proxy", "handler", "to", "detect", "changes", "to", "statement", "properties", "that", "must", "be", "reset", "on", "cached", "statements", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jdbc/src/com/ibm/ws/rsadapter/jdbc/WSJdbcPreparedStatement.java#L709-L721
66,672
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/persistence/objectManager/UniqueKeyGeneratorImpl.java
UniqueKeyGeneratorImpl.nextRangeMaximumAvailable
public void nextRangeMaximumAvailable() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "nextRangeMaximumAvailable"); synchronized (_globalUniqueLock) { _globalUniqueThreshold = _globalUniqueLimit + _midrange; _globalUniqueLimit ...
java
public void nextRangeMaximumAvailable() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "nextRangeMaximumAvailable"); synchronized (_globalUniqueLock) { _globalUniqueThreshold = _globalUniqueLimit + _midrange; _globalUniqueLimit ...
[ "public", "void", "nextRangeMaximumAvailable", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"nextRangeMaximumAvailable\"", ")", ";",...
Callback to inform the generator that the current range of available unique keys has now grown.
[ "Callback", "to", "inform", "the", "generator", "that", "the", "current", "range", "of", "available", "unique", "keys", "has", "now", "grown", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/persistence/objectManager/UniqueKeyGeneratorImpl.java#L142-L153
66,673
OpenLiberty/open-liberty
dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/main/DynamicTraceInstrumentation.java
Transformer.transform
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException { // Don't mo...
java
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException { // Don't mo...
[ "public", "byte", "[", "]", "transform", "(", "ClassLoader", "loader", ",", "String", "className", ",", "Class", "<", "?", ">", "classBeingRedefined", ",", "ProtectionDomain", "protectionDomain", ",", "byte", "[", "]", "classfileBuffer", ")", "throws", "IllegalC...
Instrument the classes.
[ "Instrument", "the", "classes", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ras.instrument/src/com/ibm/ws/ras/instrument/internal/main/DynamicTraceInstrumentation.java#L154-L204
66,674
OpenLiberty/open-liberty
dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/EvaluationContext.java
EvaluationContext.resolveString
public String resolveString(String value, boolean ignoreWarnings) throws ConfigEvaluatorException { value = variableEvaluator.resolveVariables(value, this, ignoreWarnings); return value; }
java
public String resolveString(String value, boolean ignoreWarnings) throws ConfigEvaluatorException { value = variableEvaluator.resolveVariables(value, this, ignoreWarnings); return value; }
[ "public", "String", "resolveString", "(", "String", "value", ",", "boolean", "ignoreWarnings", ")", "throws", "ConfigEvaluatorException", "{", "value", "=", "variableEvaluator", ".", "resolveVariables", "(", "value", ",", "this", ",", "ignoreWarnings", ")", ";", "...
Tries to resolve variables. @throws ConfigEvaluatorException
[ "Tries", "to", "resolve", "variables", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/EvaluationContext.java#L231-L234
66,675
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/filter/ChainerServlet.java
ChainerServlet.init
@SuppressWarnings("unchecked") public void init() throws ServletException { // Method re-written for PQ47469 String servlets = getRequiredInitParameter(PARAM_SERVLET_PATHS); StringTokenizer sTokenizer = new StringTokenizer(servlets); Vector servletChainPath = new Vector(); while (sTokenizer.hasMoreTokens() ==...
java
@SuppressWarnings("unchecked") public void init() throws ServletException { // Method re-written for PQ47469 String servlets = getRequiredInitParameter(PARAM_SERVLET_PATHS); StringTokenizer sTokenizer = new StringTokenizer(servlets); Vector servletChainPath = new Vector(); while (sTokenizer.hasMoreTokens() ==...
[ "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "public", "void", "init", "(", ")", "throws", "ServletException", "{", "// Method re-written for PQ47469", "String", "servlets", "=", "getRequiredInitParameter", "(", "PARAM_SERVLET_PATHS", ")", ";", "StringTokenizer", ...
Initialize the servlet chainer.
[ "Initialize", "the", "servlet", "chainer", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/filter/ChainerServlet.java#L89-L114
66,676
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/filter/ChainerServlet.java
ChainerServlet.service
public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // Method re-written for PQ47469 ServletChain chain = new ServletChain(); try { String path = null; for (int index = 0; index < this.chainPath.length; ++index) { path = this.chainPath[in...
java
public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // Method re-written for PQ47469 ServletChain chain = new ServletChain(); try { String path = null; for (int index = 0; index < this.chainPath.length; ++index) { path = this.chainPath[in...
[ "public", "void", "service", "(", "HttpServletRequest", "request", ",", "HttpServletResponse", "response", ")", "throws", "ServletException", ",", "IOException", "{", "// Method re-written for PQ47469", "ServletChain", "chain", "=", "new", "ServletChain", "(", ")", ";",...
Handle a servlet request by chaining the configured list of servlets. Only the final response in the chain will be sent back to the client. This servlet does not actual generate any content. This servlet only constructs and processes the servlet chain. @param req HttpServletRequest @param resp HttpServletResponse @ex...
[ "Handle", "a", "servlet", "request", "by", "chaining", "the", "configured", "list", "of", "servlets", ".", "Only", "the", "final", "response", "in", "the", "chain", "will", "be", "sent", "back", "to", "the", "client", ".", "This", "servlet", "does", "not",...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/filter/ChainerServlet.java#L127-L146
66,677
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/filter/ChainerServlet.java
ChainerServlet.getRequiredInitParameter
String getRequiredInitParameter(String name) throws ServletException { String value = getInitParameter(name); if (value == null) { throw new ServletException(MessageFormat.format(nls.getString("Missing.required.initialization.parameter","Missing required initialization parameter: {0}"), new ...
java
String getRequiredInitParameter(String name) throws ServletException { String value = getInitParameter(name); if (value == null) { throw new ServletException(MessageFormat.format(nls.getString("Missing.required.initialization.parameter","Missing required initialization parameter: {0}"), new ...
[ "String", "getRequiredInitParameter", "(", "String", "name", ")", "throws", "ServletException", "{", "String", "value", "=", "getInitParameter", "(", "name", ")", ";", "if", "(", "value", "==", "null", ")", "{", "throw", "new", "ServletException", "(", "Messag...
Retrieve a required init parameter by name. @exception javax.servlet.ServletException thrown if the required parameter is not present.
[ "Retrieve", "a", "required", "init", "parameter", "by", "name", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/websphere/servlet/filter/ChainerServlet.java#L153-L160
66,678
OpenLiberty/open-liberty
dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/java2sec/PermissionManager.java
PermissionManager.initializePermissions
private void initializePermissions() { // Set the default restrictable permissions int count = 0; if (tc.isDebugEnabled()) { if (isServer) { Tr.debug(tc, "running on server "); } else { Tr.debug(tc, "running on client "); } ...
java
private void initializePermissions() { // Set the default restrictable permissions int count = 0; if (tc.isDebugEnabled()) { if (isServer) { Tr.debug(tc, "running on server "); } else { Tr.debug(tc, "running on client "); } ...
[ "private", "void", "initializePermissions", "(", ")", "{", "// Set the default restrictable permissions", "int", "count", "=", "0", ";", "if", "(", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "if", "(", "isServer", ")", "{", "Tr", ".", "debug", "(", "...
InvocationTargetException.class, NoSuchMethodException.class, SecurityException.class})
[ "InvocationTargetException", ".", "class", "NoSuchMethodException", ".", "class", "SecurityException", ".", "class", "}", ")" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/java2sec/PermissionManager.java#L211-L286
66,679
OpenLiberty/open-liberty
dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/java2sec/PermissionManager.java
PermissionManager.getCombinedPermissions
@Override public PermissionCollection getCombinedPermissions(PermissionCollection staticPolicyPermissionCollection, CodeSource codesource) { Permissions effectivePermissions = new Permissions(); List<Permission> staticPolicyPermissions = Collections.list(staticPolicyPermissionCollection.elements());...
java
@Override public PermissionCollection getCombinedPermissions(PermissionCollection staticPolicyPermissionCollection, CodeSource codesource) { Permissions effectivePermissions = new Permissions(); List<Permission> staticPolicyPermissions = Collections.list(staticPolicyPermissionCollection.elements());...
[ "@", "Override", "public", "PermissionCollection", "getCombinedPermissions", "(", "PermissionCollection", "staticPolicyPermissionCollection", ",", "CodeSource", "codesource", ")", "{", "Permissions", "effectivePermissions", "=", "new", "Permissions", "(", ")", ";", "List", ...
Combine the static permissions with the server.xml and permissions.xml permissions, removing any restricted permission. This is called back from the dynamic policy to obtain the permissions for the JSP classes.
[ "Combine", "the", "static", "permissions", "with", "the", "server", ".", "xml", "and", "permissions", ".", "xml", "permissions", "removing", "any", "restricted", "permission", ".", "This", "is", "called", "back", "from", "the", "dynamic", "policy", "to", "obta...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/java2sec/PermissionManager.java#L573-L585
66,680
OpenLiberty/open-liberty
dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/java2sec/PermissionManager.java
PermissionManager.isRestricted
private boolean isRestricted(Permission permission) { for (Permission restrictedPermission : restrictablePermissions) { if (restrictedPermission.implies(permission)) { return true; } } return false; }
java
private boolean isRestricted(Permission permission) { for (Permission restrictedPermission : restrictablePermissions) { if (restrictedPermission.implies(permission)) { return true; } } return false; }
[ "private", "boolean", "isRestricted", "(", "Permission", "permission", ")", "{", "for", "(", "Permission", "restrictedPermission", ":", "restrictablePermissions", ")", "{", "if", "(", "restrictedPermission", ".", "implies", "(", "permission", ")", ")", "{", "retur...
Check if this is a restricted permission. @param permission @return <code>true</code> if the permission is restricted
[ "Check", "if", "this", "is", "a", "restricted", "permission", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/java2sec/PermissionManager.java#L593-L600
66,681
OpenLiberty/open-liberty
dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/java2sec/PermissionManager.java
PermissionManager.addPermissionsXMLPermission
public void addPermissionsXMLPermission(CodeSource codeSource, Permission permission) { ArrayList<Permission> permissions = null; String codeBase = codeSource.getLocation().getPath(); if (!isRestricted(permission)) { if (permissionXMLPermissionMap.containsKey(codeBase)) { ...
java
public void addPermissionsXMLPermission(CodeSource codeSource, Permission permission) { ArrayList<Permission> permissions = null; String codeBase = codeSource.getLocation().getPath(); if (!isRestricted(permission)) { if (permissionXMLPermissionMap.containsKey(codeBase)) { ...
[ "public", "void", "addPermissionsXMLPermission", "(", "CodeSource", "codeSource", ",", "Permission", "permission", ")", "{", "ArrayList", "<", "Permission", ">", "permissions", "=", "null", ";", "String", "codeBase", "=", "codeSource", ".", "getLocation", "(", ")"...
Adds a permission from the permissions.xml file for the given CodeSource. @param codeSource - The CodeSource of the code the specified permission was granted to. @param permissions - The permissions granted in the permissions.xml of the application. @return the effective granted permissions
[ "Adds", "a", "permission", "from", "the", "permissions", ".", "xml", "file", "for", "the", "given", "CodeSource", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.classloading/src/com/ibm/ws/classloading/java2sec/PermissionManager.java#L618-L632
66,682
OpenLiberty/open-liberty
dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/DelayedClassInfo.java
DelayedClassInfo.getClassInfo
public NonDelayedClassInfo getClassInfo() { String useName = getName(); NonDelayedClassInfo useClassInfo = this.classInfo; if (useClassInfo != null) { if (!useClassInfo.isJavaClass() && !(useClassInfo.isAnnotationPresent() || useClassInfo.isFieldA...
java
public NonDelayedClassInfo getClassInfo() { String useName = getName(); NonDelayedClassInfo useClassInfo = this.classInfo; if (useClassInfo != null) { if (!useClassInfo.isJavaClass() && !(useClassInfo.isAnnotationPresent() || useClassInfo.isFieldA...
[ "public", "NonDelayedClassInfo", "getClassInfo", "(", ")", "{", "String", "useName", "=", "getName", "(", ")", ";", "NonDelayedClassInfo", "useClassInfo", "=", "this", ".", "classInfo", ";", "if", "(", "useClassInfo", "!=", "null", ")", "{", "if", "(", "!", ...
Assignments to the extra data of the log parms may not be held across other method calls.
[ "Assignments", "to", "the", "extra", "data", "of", "the", "log", "parms", "may", "not", "be", "held", "across", "other", "method", "calls", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.anno/src/com/ibm/ws/anno/info/internal/DelayedClassInfo.java#L113-L194
66,683
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.intialiseNonPersistent
protected void intialiseNonPersistent(MultiMEProxyHandler proxyHandler, Neighbours neighbours) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "intialiseNonPersistent"); iProxyHandler = proxyHandler; iNeighbours = neighbours...
java
protected void intialiseNonPersistent(MultiMEProxyHandler proxyHandler, Neighbours neighbours) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "intialiseNonPersistent"); iProxyHandler = proxyHandler; iNeighbours = neighbours...
[ "protected", "void", "intialiseNonPersistent", "(", "MultiMEProxyHandler", "proxyHandler", ",", "Neighbours", "neighbours", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".",...
Setup the non persistent state. @param proxyHandler The proxy handler instance. @param neighbours The neighbours instance
[ "Setup", "the", "non", "persistent", "state", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L186-L205
66,684
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.getUUID
public final SIBUuid8 getUUID() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getUUID"); SibTr.exit(tc, "getUUID", iMEUuid); } return iMEUuid; }
java
public final SIBUuid8 getUUID() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getUUID"); SibTr.exit(tc, "getUUID", iMEUuid); } return iMEUuid; }
[ "public", "final", "SIBUuid8", "getUUID", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getUUID\"", ")", ";", "SibTr", ...
Gets the UUID for this Neighbour @return SIBUuid
[ "Gets", "the", "UUID", "for", "this", "Neighbour" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L211-L219
66,685
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.getBusId
public final String getBusId() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getBusId"); SibTr.exit(tc, "getBusId", iBusId); } return iBusId; }
java
public final String getBusId() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getBusId"); SibTr.exit(tc, "getBusId", iBusId); } return iBusId; }
[ "public", "final", "String", "getBusId", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getBusId\"", ")", ";", "SibTr", ...
Get the Bus name for this Neighbour @return String The Bus of this Neighbour
[ "Get", "the", "Bus", "name", "for", "this", "Neighbour" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L226-L235
66,686
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.getBus
BusGroup getBus() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getBus"); SibTr.exit(tc, "getBus", iBusGroup); } return iBusGroup; }
java
BusGroup getBus() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getBus"); SibTr.exit(tc, "getBus", iBusGroup); } return iBusGroup; }
[ "BusGroup", "getBus", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getBus\"", ")", ";", "SibTr", ".", "exit", "(", "...
Gets the Bus for this Neighbour @return BusGroup The Bus that this Neighbour belongs to
[ "Gets", "the", "Bus", "for", "this", "Neighbour" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L243-L252
66,687
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.setBus
void setBus(BusGroup busGroup) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setBus"); iBusGroup = busGroup; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "setBus"); }
java
void setBus(BusGroup busGroup) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setBus"); iBusGroup = busGroup; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "setBus"); }
[ "void", "setBus", "(", "BusGroup", "busGroup", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"setBus\"", ")", ";", "iBusGroup", "=",...
Sets the Bus for this Neighbour @param BusGroup The group that this Neighbour belongs to
[ "Sets", "the", "Bus", "for", "this", "Neighbour" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L269-L278
66,688
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.createProducerSession
private synchronized void createProducerSession() throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createProducerSession"); if (iProducerSession == null) { try { iProducerSession = (ProducerSessionImpl) ...
java
private synchronized void createProducerSession() throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createProducerSession"); if (iProducerSession == null) { try { iProducerSession = (ProducerSessionImpl) ...
[ "private", "synchronized", "void", "createProducerSession", "(", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", "...
Creates a producer session for sending the proxy messages to the Neighbours Opens the producer on the Neighbours remote Queue for sending to that Neighbour @exception SIResourceException Thrown if the producer can not be created.
[ "Creates", "a", "producer", "session", "for", "sending", "the", "proxy", "messages", "to", "the", "Neighbours" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L379-L420
66,689
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.proxyRegistered
MESubscription proxyRegistered(SIBUuid12 topicSpaceUuid, String localTopicSpaceName, String topic, String foreignTSName, Transaction transaction, boolean f...
java
MESubscription proxyRegistered(SIBUuid12 topicSpaceUuid, String localTopicSpaceName, String topic, String foreignTSName, Transaction transaction, boolean f...
[ "MESubscription", "proxyRegistered", "(", "SIBUuid12", "topicSpaceUuid", ",", "String", "localTopicSpaceName", ",", "String", "topic", ",", "String", "foreignTSName", ",", "Transaction", "transaction", ",", "boolean", "foreignSecuredProxy", ",", "String", "MESubUserId", ...
proxyRegistered is called on this Neighbour object when a proxy subscription is received from a Neighbour. A reference to that subscription is either created, or the reference to that subscription is unMarked @param topicSpace The topicSpace for the subscription. @param localTopicSpaceName The name for the topic sp...
[ "proxyRegistered", "is", "called", "on", "this", "Neighbour", "object", "when", "a", "proxy", "subscription", "is", "received", "from", "a", "Neighbour", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L442-L575
66,690
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.removeSubscription
protected void removeSubscription(SIBUuid12 topicSpace, String topic) { // Generate a key for the topicSpace/topic final String key = BusGroup.subscriptionKey(topicSpace, topic); iProxies.remove(key); }
java
protected void removeSubscription(SIBUuid12 topicSpace, String topic) { // Generate a key for the topicSpace/topic final String key = BusGroup.subscriptionKey(topicSpace, topic); iProxies.remove(key); }
[ "protected", "void", "removeSubscription", "(", "SIBUuid12", "topicSpace", ",", "String", "topic", ")", "{", "// Generate a key for the topicSpace/topic", "final", "String", "key", "=", "BusGroup", ".", "subscriptionKey", "(", "topicSpace", ",", "topic", ")", ";", "...
Remove the subscription in the case of a rollback @param topicSpace @param topic
[ "Remove", "the", "subscription", "in", "the", "case", "of", "a", "rollback" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L582-L589
66,691
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.proxyDeregistered
MESubscription proxyDeregistered(SIBUuid12 topicSpace, String topic, Transaction transaction) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "proxyDeregistered", ne...
java
MESubscription proxyDeregistered(SIBUuid12 topicSpace, String topic, Transaction transaction) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "proxyDeregistered", ne...
[ "MESubscription", "proxyDeregistered", "(", "SIBUuid12", "topicSpace", ",", "String", "topic", ",", "Transaction", "transaction", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryE...
proxyDeregistered is called on this Neighbour object when a delete proxy subscription is received from a Neighbour. A reference to that subscription is either deleted, or nothing happens. @param topic The topic for the proxy @param topicSpace The topicSpace for the subscription. @param transaction The transact...
[ "proxyDeregistered", "is", "called", "on", "this", "Neighbour", "object", "when", "a", "delete", "proxy", "subscription", "is", "received", "from", "a", "Neighbour", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L606-L675
66,692
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.addSubscription
protected void addSubscription(SIBUuid12 topicSpace, String topic, MESubscription subscription) { // Generate a key for the topicSpace/topic final String key = BusGroup.subscriptionKey(topicSpace, topic); iProxies.put(key, subscription); }
java
protected void addSubscription(SIBUuid12 topicSpace, String topic, MESubscription subscription) { // Generate a key for the topicSpace/topic final String key = BusGroup.subscriptionKey(topicSpace, topic); iProxies.put(key, subscription); }
[ "protected", "void", "addSubscription", "(", "SIBUuid12", "topicSpace", ",", "String", "topic", ",", "MESubscription", "subscription", ")", "{", "// Generate a key for the topicSpace/topic", "final", "String", "key", "=", "BusGroup", ".", "subscriptionKey", "(", "topicS...
Adds the rolled back subscription to the list. @param topicSpace @param topic
[ "Adds", "the", "rolled", "back", "subscription", "to", "the", "list", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L683-L689
66,693
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.getSubscription
protected MESubscription getSubscription(SIBUuid12 topicSpace, String topic) { return (MESubscription)iProxies.get(BusGroup.subscriptionKey(topicSpace, topic)); }
java
protected MESubscription getSubscription(SIBUuid12 topicSpace, String topic) { return (MESubscription)iProxies.get(BusGroup.subscriptionKey(topicSpace, topic)); }
[ "protected", "MESubscription", "getSubscription", "(", "SIBUuid12", "topicSpace", ",", "String", "topic", ")", "{", "return", "(", "MESubscription", ")", "iProxies", ".", "get", "(", "BusGroup", ".", "subscriptionKey", "(", "topicSpace", ",", "topic", ")", ")", ...
Gets the MESubscription represented from this topicSpace and topic @param topicSpace @param topic @return MESubscription representing this topicSpace/topic
[ "Gets", "the", "MESubscription", "represented", "from", "this", "topicSpace", "and", "topic" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L699-L702
66,694
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.markAllProxies
void markAllProxies() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "markAllProxies"); final Enumeration enu = iProxies.elements(); // Cycle through each of the proxies while (enu.hasMoreElements()) { final MESubscription sub = (MESubscription) en...
java
void markAllProxies() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "markAllProxies"); final Enumeration enu = iProxies.elements(); // Cycle through each of the proxies while (enu.hasMoreElements()) { final MESubscription sub = (MESubscription) en...
[ "void", "markAllProxies", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"markAllProxies\"", ")", ";", "final", "Enumeration", "en...
Marks all the proxies from this Neighbour. This is used for resynching the state between what this ME has registered and what the ME has sent.
[ "Marks", "all", "the", "proxies", "from", "this", "Neighbour", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L710-L728
66,695
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.sweepMarkedProxies
void sweepMarkedProxies( List topicSpaces, List topics, Transaction transaction, boolean okToForward) throws SIResourceException, SIException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( tc, "sweepMarkedProxies", new Object[] { ...
java
void sweepMarkedProxies( List topicSpaces, List topics, Transaction transaction, boolean okToForward) throws SIResourceException, SIException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( tc, "sweepMarkedProxies", new Object[] { ...
[ "void", "sweepMarkedProxies", "(", "List", "topicSpaces", ",", "List", "topics", ",", "Transaction", "transaction", ",", "boolean", "okToForward", ")", "throws", "SIResourceException", ",", "SIException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", ...
Removes all Subscriptions that are no longer registered Loops through all the ME Subscriptions for this Neighbour and finds the ones that still contain the reset mark and removes them. @param topicSpaces The list of topicSpaces to add the deletes to @param topics The list of topics to add the deletes to @param ...
[ "Removes", "all", "Subscriptions", "that", "are", "no", "longer", "registered" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L742-L808
66,696
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.sendToNeighbour
void sendToNeighbour(JsMessage message, Transaction transaction) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "sendToNeighbour", new Object[] { message, transaction }); if (iProducerSession == null) createProducerSession(); ...
java
void sendToNeighbour(JsMessage message, Transaction transaction) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "sendToNeighbour", new Object[] { message, transaction }); if (iProducerSession == null) createProducerSession(); ...
[ "void", "sendToNeighbour", "(", "JsMessage", "message", ",", "Transaction", "transaction", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", "....
Forwards the message given onto this Neighbours Queue. This could be a create/change or delete message. @param message The JsMessage to be sent. @param transaction The transaction to send the message under.
[ "Forwards", "the", "message", "given", "onto", "this", "Neighbours", "Queue", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L818-L855
66,697
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.recoverSubscriptions
protected void recoverSubscriptions(MultiMEProxyHandler proxyHandler) throws MessageStoreException, SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "recoverSubscriptions", proxyHandler); iProxyHandler = proxyHandler; iProxies = new Hashtable()...
java
protected void recoverSubscriptions(MultiMEProxyHandler proxyHandler) throws MessageStoreException, SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "recoverSubscriptions", proxyHandler); iProxyHandler = proxyHandler; iProxies = new Hashtable()...
[ "protected", "void", "recoverSubscriptions", "(", "MultiMEProxyHandler", "proxyHandler", ")", "throws", "MessageStoreException", ",", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ...
Recovers the Neighbours subscriptions that it had registered. @param proxyHandler the ProxyHandler instance
[ "Recovers", "the", "Neighbours", "subscriptions", "that", "it", "had", "registered", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L862-L911
66,698
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.deleteDestination
protected void deleteDestination() throws SIConnectionLostException, SIResourceException, SIErrorException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "deleteDestination"); // If the producer session hasn't been closed, close it now synchronized(this) { ...
java
protected void deleteDestination() throws SIConnectionLostException, SIResourceException, SIErrorException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "deleteDestination"); // If the producer session hasn't been closed, close it now synchronized(this) { ...
[ "protected", "void", "deleteDestination", "(", ")", "throws", "SIConnectionLostException", ",", "SIResourceException", ",", "SIErrorException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", ...
Deletes the Queue that would be used for sending proxy update messages to this remote ME. This will only be called when the remote ME is to be deleted. This method also cancels any alarm that may have been set so it doesn't fire at some point in the future. @throws SICoreException
[ "Deletes", "the", "Queue", "that", "would", "be", "used", "for", "sending", "proxy", "update", "messages", "to", "this", "remote", "ME", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L923-L963
66,699
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java
Neighbour.addPubSubOutputHandler
protected void addPubSubOutputHandler(PubSubOutputHandler handler) { if (iPubSubOutputHandlers == null) iPubSubOutputHandlers = new HashSet(); // Add the PubSubOutputHandler to the list that this neighbour // knows about. This is so a recovered neighbour can add the list of // output handlers ...
java
protected void addPubSubOutputHandler(PubSubOutputHandler handler) { if (iPubSubOutputHandlers == null) iPubSubOutputHandlers = new HashSet(); // Add the PubSubOutputHandler to the list that this neighbour // knows about. This is so a recovered neighbour can add the list of // output handlers ...
[ "protected", "void", "addPubSubOutputHandler", "(", "PubSubOutputHandler", "handler", ")", "{", "if", "(", "iPubSubOutputHandlers", "==", "null", ")", "iPubSubOutputHandlers", "=", "new", "HashSet", "(", ")", ";", "// Add the PubSubOutputHandler to the list that this neighb...
Add a PubSubOutputHandler to the list of PubSubOutputHandlers that this neighbour knows about.
[ "Add", "a", "PubSubOutputHandler", "to", "the", "list", "of", "PubSubOutputHandlers", "that", "this", "neighbour", "knows", "about", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/Neighbour.java#L1141-L1150