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
67,000
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.getAttachedMessage
SIMPMessage getAttachedMessage() throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getAttachedMessage", this); SIMPMessage msg = null; //check if there really is a message attached if (_msgAttached) { ...
java
SIMPMessage getAttachedMessage() throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getAttachedMessage", this); SIMPMessage msg = null; //check if there really is a message attached if (_msgAttached) { ...
[ "SIMPMessage", "getAttachedMessage", "(", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"getAttachedMessage...
If a message has been attached to this LCP, detach it and return it NOTE: Callers to this method will have the JSLocalConsumerPoint locked @return The message which was attached @throws SIResourceException
[ "If", "a", "message", "has", "been", "attached", "to", "this", "LCP", "detach", "it", "and", "return", "it" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L994-L1025
67,001
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.checkReceiveAllowed
private boolean checkReceiveAllowed() throws SISessionUnavailableException, SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "checkReceiveAllowed"); boolean allowed = _destinationAttachedTo.isReceiveAllowed(); if (!allowed) ...
java
private boolean checkReceiveAllowed() throws SISessionUnavailableException, SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "checkReceiveAllowed"); boolean allowed = _destinationAttachedTo.isReceiveAllowed(); if (!allowed) ...
[ "private", "boolean", "checkReceiveAllowed", "(", ")", "throws", "SISessionUnavailableException", ",", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "e...
Checks the destination allows receive If receive not allowed, and LCP started, stops it If receive allowed, and LCP stopped, may start it
[ "Checks", "the", "destination", "allows", "receive" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L1034-L1069
67,002
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.checkReceiveState
private void checkReceiveState() throws SIIncorrectCallException, SISessionUnavailableException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "checkReceiveState"); // Only valid if the consumer session is still open checkN...
java
private void checkReceiveState() throws SIIncorrectCallException, SISessionUnavailableException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "checkReceiveState"); // Only valid if the consumer session is still open checkN...
[ "private", "void", "checkReceiveState", "(", ")", "throws", "SIIncorrectCallException", ",", "SISessionUnavailableException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "e...
Checks the state for the synchronous consumer Will check for not closed, AsynchConsumer and if it is already in a wait If any of those conditions appear - an exception will be thrown.
[ "Checks", "the", "state", "for", "the", "synchronous", "consumer" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L1081-L1124
67,003
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.getEligibleMsgLocked
private SIMPMessage getEligibleMsgLocked(TransactionCommon tranImpl) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getEligibleMsgLocked", new Object[] { this, tranImpl }); /* * 166829.1 Support for noLocal deliver...
java
private SIMPMessage getEligibleMsgLocked(TransactionCommon tranImpl) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getEligibleMsgLocked", new Object[] { this, tranImpl }); /* * 166829.1 Support for noLocal deliver...
[ "private", "SIMPMessage", "getEligibleMsgLocked", "(", "TransactionCommon", "tranImpl", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "e...
Retrieves the next eligible message for delivery to this consumer. Performs a check for noLocal and takes this into account when retrieving the next eligible message. If any messages are not eligible for delivery, they are deleted from the itemstream before the first eligble one is returned. NOTE: Callers to this meth...
[ "Retrieves", "the", "next", "eligible", "message", "for", "delivery", "to", "this", "consumer", ".", "Performs", "a", "check", "for", "noLocal", "and", "takes", "this", "into", "account", "when", "retrieving", "the", "next", "eligible", "message", ".", "If", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L1297-L1393
67,004
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.waitingNotify
protected void waitingNotify() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "waitingNotify"); this.lock(); try { if (_waiting) _waiter.signal(); } finally { this.unlock(); ...
java
protected void waitingNotify() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "waitingNotify"); this.lock(); try { if (_waiting) _waiter.signal(); } finally { this.unlock(); ...
[ "protected", "void", "waitingNotify", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"waitingNotify\"", ")", ";", "this", ".", "...
Wakeup our thread if we're waiting on a receive. This method is normally called as part of remoteDurable when we need to resubmit a get because a previous get caused a noLocal discard.
[ "Wakeup", "our", "thread", "if", "we", "re", "waiting", "on", "a", "receive", ".", "This", "method", "is", "normally", "called", "as", "part", "of", "remoteDurable", "when", "we", "need", "to", "resubmit", "a", "get", "because", "a", "previous", "get", "...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L1847-L1864
67,005
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.retrieveMsgLocked
private SIMPMessage retrieveMsgLocked() throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "retrieveMsgLocked", new Object[] { this }); SIMPMessage msg = null; // Look in the Cd's ItenStream for the next available messa...
java
private SIMPMessage retrieveMsgLocked() throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "retrieveMsgLocked", new Object[] { this }); SIMPMessage msg = null; // Look in the Cd's ItenStream for the next available messa...
[ "private", "SIMPMessage", "retrieveMsgLocked", "(", ")", "throws", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"retrie...
Attempt to retrieve a message from the CD's itemStream in a locked state. @return A locked message
[ "Attempt", "to", "retrieve", "a", "message", "from", "the", "CD", "s", "itemStream", "in", "a", "locked", "state", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L1871-L1921
67,006
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.checkParams
private void checkParams(int maxActiveMessages, long messageLockExpiry, int maxBatchSize) throws SIIncorrectCallException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( ...
java
private void checkParams(int maxActiveMessages, long messageLockExpiry, int maxBatchSize) throws SIIncorrectCallException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( ...
[ "private", "void", "checkParams", "(", "int", "maxActiveMessages", ",", "long", "messageLockExpiry", ",", "int", "maxBatchSize", ")", "throws", "SIIncorrectCallException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "is...
Checks that the maxBatchSize is >0 Checks that messasgeLockExpiry >=0 Checks that maxActiveMessages >=0 @param maxBatchSize @param max
[ "Checks", "that", "the", "maxBatchSize", "is", ">", "0", "Checks", "that", "messasgeLockExpiry", ">", "=", "0", "Checks", "that", "maxActiveMessages", ">", "=", "0" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L1931-L1982
67,007
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.processAttachedMsgs
boolean processAttachedMsgs() throws SIResourceException, SISessionDroppedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "processAttachedMsgs", this); SIMPMessage msg = null; // Check if there is a message attached to this consumer,...
java
boolean processAttachedMsgs() throws SIResourceException, SISessionDroppedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "processAttachedMsgs", this); SIMPMessage msg = null; // Check if there is a message attached to this consumer,...
[ "boolean", "processAttachedMsgs", "(", ")", "throws", "SIResourceException", ",", "SISessionDroppedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "...
Try to asynchronously deliver any attached messages @return true if a message was delivered @throws SIResourceException @throws SISessionDroppedException
[ "Try", "to", "asynchronously", "deliver", "any", "attached", "messages" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L2230-L2344
67,008
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.runAsynchConsumer
void runAsynchConsumer(boolean isolatedRun) throws SIResourceException, SISessionDroppedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "runAsynchConsumer", new Object[] { this, Boolean.valueOf(isolatedRun) }); JSLocalConsumerPoint nextConsum...
java
void runAsynchConsumer(boolean isolatedRun) throws SIResourceException, SISessionDroppedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "runAsynchConsumer", new Object[] { this, Boolean.valueOf(isolatedRun) }); JSLocalConsumerPoint nextConsum...
[ "void", "runAsynchConsumer", "(", "boolean", "isolatedRun", ")", "throws", "SIResourceException", ",", "SISessionDroppedException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", "...
Go and look for both attached messages and messages on the QP. If any are found then deliver them via the asynch callback @param isolatedRun if true then call the Asynch callback at most once @throws SIResourceException Thrown if there are problems in the msgStore @throws SISessionDroppedException
[ "Go", "and", "look", "for", "both", "attached", "messages", "and", "messages", "on", "the", "QP", ".", "If", "any", "are", "found", "then", "deliver", "them", "via", "the", "asynch", "callback" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L3035-L3140
67,009
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.close
@Override public void close() throws SIResourceException, SINotPossibleInCurrentConfigurationException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "close", this); // On closing, we need to run the async consumer a final time to process ...
java
@Override public void close() throws SIResourceException, SINotPossibleInCurrentConfigurationException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "close", this); // On closing, we need to run the async consumer a final time to process ...
[ "@", "Override", "public", "void", "close", "(", ")", "throws", "SIResourceException", ",", "SINotPossibleInCurrentConfigurationException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "S...
Closes the LocalConsumerPoint. @throws
[ "Closes", "the", "LocalConsumerPoint", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L3147-L3317
67,010
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.isClosed
public boolean isClosed() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "isClosed", this); SibTr.exit(tc, "isClosed", Boolean.valueOf(_closed)); } return _closed; }
java
public boolean isClosed() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "isClosed", this); SibTr.exit(tc, "isClosed", Boolean.valueOf(_closed)); } return _closed; }
[ "public", "boolean", "isClosed", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"isClosed\"", ",", "this", ")", ";", "Sib...
Returns true if this LCP is closed. @return
[ "Returns", "true", "if", "this", "LCP", "is", "closed", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L3324-L3332
67,011
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.start
@Override public void start(boolean deliverImmediately) throws SISessionUnavailableException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "start", new Object[] { Boolean.valueOf(deliverImmediately), this...
java
@Override public void start(boolean deliverImmediately) throws SISessionUnavailableException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "start", new Object[] { Boolean.valueOf(deliverImmediately), this...
[ "@", "Override", "public", "void", "start", "(", "boolean", "deliverImmediately", ")", "throws", "SISessionUnavailableException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", "...
Start this LCP. If there are any synchronous receives waiting, wake them up If there is a AsynchConsumerCallback registered look on the QP for messages for asynch delivery. If deliverImmediately is set, this Thread is used to deliver any initial messages rather than starting up a new Thread.
[ "Start", "this", "LCP", ".", "If", "there", "are", "any", "synchronous", "receives", "waiting", "wake", "them", "up", "If", "there", "is", "a", "AsynchConsumerCallback", "registered", "look", "on", "the", "QP", "for", "messages", "for", "asynch", "delivery", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L3469-L3484
67,012
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.checkForMessages
@Override public void checkForMessages() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "checkForMessages", this); try { //start a new thread to run the callback _messageProcessor.startNewThread(new AsynchThread(thi...
java
@Override public void checkForMessages() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "checkForMessages", this); try { //start a new thread to run the callback _messageProcessor.startNewThread(new AsynchThread(thi...
[ "@", "Override", "public", "void", "checkForMessages", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"checkForMessages\"", ",", "...
Spin off a thread that checks for any stored messages. This is called by a consumerKeyGroup to try to kick a group back into life after a stopped member detaches and makes the group ready again.
[ "Spin", "off", "a", "thread", "that", "checks", "for", "any", "stored", "messages", ".", "This", "is", "called", "by", "a", "consumerKeyGroup", "to", "try", "to", "kick", "a", "group", "back", "into", "life", "after", "a", "stopped", "member", "detaches", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L3645-L3672
67,013
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.unlockAll
@Override public void unlockAll() throws SISessionUnavailableException, SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "unlockAll", this); synchronized (_asynchConsumerBusyLock) { this.lock(); tr...
java
@Override public void unlockAll() throws SISessionUnavailableException, SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "unlockAll", this); synchronized (_asynchConsumerBusyLock) { this.lock(); tr...
[ "@", "Override", "public", "void", "unlockAll", "(", ")", "throws", "SISessionUnavailableException", ",", "SIResourceException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", "....
Unlock all messages which have been locked to this LCP but not consumed @throws SIResourceException Thrown if there is a problem in the msgStore
[ "Unlock", "all", "messages", "which", "have", "been", "locked", "to", "this", "LCP", "but", "not", "consumed" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L3782-L3815
67,014
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.setBaseRecoverability
private void setBaseRecoverability(Reliability unrecoverableReliability) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setBaseRecoverability", new Object[] { this, unrecoverableReliability }); setUnrecoverability(unrecoverableReliability); _...
java
private void setBaseRecoverability(Reliability unrecoverableReliability) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setBaseRecoverability", new Object[] { this, unrecoverableReliability }); setUnrecoverability(unrecoverableReliability); _...
[ "private", "void", "setBaseRecoverability", "(", "Reliability", "unrecoverableReliability", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\...
Set the consumerSession's recoverability
[ "Set", "the", "consumerSession", "s", "recoverability" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L3820-L3830
67,015
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.resetBaseUnrecoverability
private void resetBaseUnrecoverability() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "resetBaseUnrecoverability", this); _unrecoverableOptions = _baseUnrecoverableOptions; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
java
private void resetBaseUnrecoverability() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "resetBaseUnrecoverability", this); _unrecoverableOptions = _baseUnrecoverableOptions; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) ...
[ "private", "void", "resetBaseUnrecoverability", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"resetBaseUnrecoverability\"", ",", "th...
Restore the original unrecoverability of the session
[ "Restore", "the", "original", "unrecoverability", "of", "the", "session" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L3835-L3844
67,016
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.setReady
private void setReady() throws SINotPossibleInCurrentConfigurationException { // If we're not transacted no messages are recoverable Reliability unrecoverable = Reliability.ASSURED_PERSISTENT; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setR...
java
private void setReady() throws SINotPossibleInCurrentConfigurationException { // If we're not transacted no messages are recoverable Reliability unrecoverable = Reliability.ASSURED_PERSISTENT; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setR...
[ "private", "void", "setReady", "(", ")", "throws", "SINotPossibleInCurrentConfigurationException", "{", "// If we're not transacted no messages are recoverable", "Reliability", "unrecoverable", "=", "Reliability", ".", "ASSURED_PERSISTENT", ";", "if", "(", "TraceComponent", "."...
Change the Ready state to true
[ "Change", "the", "Ready", "state", "to", "true" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L3867-L3891
67,017
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.unsetReady
protected void unsetReady() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "unsetReady", this); //set the ready state _ready = false; if (_keyGroup != null) _keyGroup.groupNotReady(); // if consumerKey is null the...
java
protected void unsetReady() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "unsetReady", this); //set the ready state _ready = false; if (_keyGroup != null) _keyGroup.groupNotReady(); // if consumerKey is null the...
[ "protected", "void", "unsetReady", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"unsetReady\"", ",", "this", ")", ";", "//set ...
Change the Ready state to false
[ "Change", "the", "Ready", "state", "to", "false" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L3896-L3916
67,018
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.getAutoCommitTransaction
protected TransactionCommon getAutoCommitTransaction() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getAutoCommitTransaction", this); } TransactionCommon tran = _messageProcessor.getTXManager().createAutoCom...
java
protected TransactionCommon getAutoCommitTransaction() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getAutoCommitTransaction", this); } TransactionCommon tran = _messageProcessor.getTXManager().createAutoCom...
[ "protected", "TransactionCommon", "getAutoCommitTransaction", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getAutoCommitTransact...
An autocommit transaction is not threadsafe, therefore any users must either prevent concurrent use or use separate transactions. All references in JSLocalConsumerPoint to _autoCommitTransaction are threadsafe so the cached transaction is ok. However, callers to this method are not, so a new transaction is returned eac...
[ "An", "autocommit", "transaction", "is", "not", "threadsafe", "therefore", "any", "users", "must", "either", "prevent", "concurrent", "use", "or", "use", "separate", "transactions", ".", "All", "references", "in", "JSLocalConsumerPoint", "to", "_autoCommitTransaction"...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L4202-L4216
67,019
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.getMaxActiveMessages
public int getMaxActiveMessages() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getMaxActiveMessages"); SibTr.exit(tc, "getMaxActiveMessages", Integer.valueOf(_maxActiveMessages)); } return _maxActiveMessages; }
java
public int getMaxActiveMessages() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getMaxActiveMessages"); SibTr.exit(tc, "getMaxActiveMessages", Integer.valueOf(_maxActiveMessages)); } return _maxActiveMessages; }
[ "public", "int", "getMaxActiveMessages", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getMaxActiveMessages\"", ")", ";", "...
Gets the max active message count, Currently only used by the unit tests to be sure that the max active count has been updated @return
[ "Gets", "the", "max", "active", "message", "count", "Currently", "only", "used", "by", "the", "unit", "tests", "to", "be", "sure", "that", "the", "max", "active", "count", "has", "been", "updated" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L4540-L4548
67,020
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java
JSLocalConsumerPoint.setMaxActiveMessages
@Override public void setMaxActiveMessages(int maxActiveMessages) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setMaxActiveMessages", Integer.valueOf(maxActiveMessages)); synchronized (_asynchConsumerBusyLock) { this.lock();...
java
@Override public void setMaxActiveMessages(int maxActiveMessages) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setMaxActiveMessages", Integer.valueOf(maxActiveMessages)); synchronized (_asynchConsumerBusyLock) { this.lock();...
[ "@", "Override", "public", "void", "setMaxActiveMessages", "(", "int", "maxActiveMessages", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", ...
Update the max active messages field Set by the MessagePump class to indicate that there has been an update in the Threadpool class. WARNING: if the max is ever set to zero (now or on registration) then counting is disabled (for performance), so if it ever gets reset to a non-zero value we will not have accounted for...
[ "Update", "the", "max", "active", "messages", "field" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSLocalConsumerPoint.java#L4564-L4619
67,021
OpenLiberty/open-liberty
dev/com.ibm.ws.request.probes/src/com/ibm/wsspi/request/probe/bci/TransformDescriptorHelper.java
TransformDescriptorHelper.contextInfoRequired
public boolean contextInfoRequired(String eventType, long requestNumber) { boolean needContextInfo = false; List<ProbeExtension> probeExtnList = RequestProbeService .getProbeExtensions(); for (int i = 0; i < probeExtnList.size(); i++) { ProbeExtension probeExtension = probeExtnList.get(i); if (reques...
java
public boolean contextInfoRequired(String eventType, long requestNumber) { boolean needContextInfo = false; List<ProbeExtension> probeExtnList = RequestProbeService .getProbeExtensions(); for (int i = 0; i < probeExtnList.size(); i++) { ProbeExtension probeExtension = probeExtnList.get(i); if (reques...
[ "public", "boolean", "contextInfoRequired", "(", "String", "eventType", ",", "long", "requestNumber", ")", "{", "boolean", "needContextInfo", "=", "false", ";", "List", "<", "ProbeExtension", ">", "probeExtnList", "=", "RequestProbeService", ".", "getProbeExtensions",...
This method will check if context information is required or not by processing through each active ProbeExtensions available in PE List @param eventType @return
[ "This", "method", "will", "check", "if", "context", "information", "is", "required", "or", "not", "by", "processing", "through", "each", "active", "ProbeExtensions", "available", "in", "PE", "List" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.request.probes/src/com/ibm/wsspi/request/probe/bci/TransformDescriptorHelper.java#L45-L68
67,022
OpenLiberty/open-liberty
dev/com.ibm.ws.request.probes/src/com/ibm/wsspi/request/probe/bci/TransformDescriptorHelper.java
TransformDescriptorHelper.getObjForInstrumentation
public static RequestProbeTransformDescriptor getObjForInstrumentation( String key) { RequestProbeTransformDescriptor requestProbeTransformDescriptor = RequestProbeBCIManagerImpl .getRequestProbeTransformDescriptors().get(key); return requestProbeTransformDescriptor; }
java
public static RequestProbeTransformDescriptor getObjForInstrumentation( String key) { RequestProbeTransformDescriptor requestProbeTransformDescriptor = RequestProbeBCIManagerImpl .getRequestProbeTransformDescriptors().get(key); return requestProbeTransformDescriptor; }
[ "public", "static", "RequestProbeTransformDescriptor", "getObjForInstrumentation", "(", "String", "key", ")", "{", "RequestProbeTransformDescriptor", "requestProbeTransformDescriptor", "=", "RequestProbeBCIManagerImpl", ".", "getRequestProbeTransformDescriptors", "(", ")", ".", "...
getObjForInstrumentation Returns TransformDescriptor with input parameters className, methodName and methodDescription @param classname @param mInfo @return
[ "getObjForInstrumentation", "Returns", "TransformDescriptor", "with", "input", "parameters", "className", "methodName", "and", "methodDescription" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.request.probes/src/com/ibm/wsspi/request/probe/bci/TransformDescriptorHelper.java#L208-L213
67,023
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaMessageToken.java
SibRaMessageToken.addHandle
boolean addHandle (SIMessageHandle handle, Map ctxInfo, final boolean canBeDeleted) { final String methodName = "addHandle"; if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, methodName, new Object [] { han...
java
boolean addHandle (SIMessageHandle handle, Map ctxInfo, final boolean canBeDeleted) { final String methodName = "addHandle"; if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, methodName, new Object [] { han...
[ "boolean", "addHandle", "(", "SIMessageHandle", "handle", ",", "Map", "ctxInfo", ",", "final", "boolean", "canBeDeleted", ")", "{", "final", "String", "methodName", "=", "\"addHandle\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&...
Attemts to add the supplied message handle to the token. This is only done if the context information matches and both messages are BENP or both are not BENP. @param handle The message handle to try and add to the token @param ctxInfo The context info associated with the message @param unrecoveredReliability The unreco...
[ "Attemts", "to", "add", "the", "supplied", "message", "handle", "to", "the", "token", ".", "This", "is", "only", "done", "if", "the", "context", "information", "matches", "and", "both", "messages", "are", "BENP", "or", "both", "are", "not", "BENP", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaMessageToken.java#L251-L302
67,024
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaMessageToken.java
SibRaMessageToken.matches
boolean matches (Map ctxInfo, boolean canBeDeleted) { final String methodName = "matches"; if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, methodName, new Object [] { ctxInfo, canBeDeleted }); } if (TraceComponent.isAnyTracingEnabled(...
java
boolean matches (Map ctxInfo, boolean canBeDeleted) { final String methodName = "matches"; if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) { SibTr.entry(this, TRACE, methodName, new Object [] { ctxInfo, canBeDeleted }); } if (TraceComponent.isAnyTracingEnabled(...
[ "boolean", "matches", "(", "Map", "ctxInfo", ",", "boolean", "canBeDeleted", ")", "{", "final", "String", "methodName", "=", "\"matches\"", ";", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "TRACE", ".", "isEntryEnabled", "(", ")", ...
This method checks to see if the supplied information from a message handle matches the information that this token is using. @param ctxInfo The context info of the new message handle @param isBENP Whether the new message handle represents a BENP message or not @return true if the information about the new messages ma...
[ "This", "method", "checks", "to", "see", "if", "the", "supplied", "information", "from", "a", "message", "handle", "matches", "the", "information", "that", "this", "token", "is", "using", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaMessageToken.java#L313-L360
67,025
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/ByteBufferConfiguration.java
ByteBufferConfiguration.updateBufferManager
private void updateBufferManager(Map<String, Object> properties) { if (properties.isEmpty()) { return; } if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.event(this, tc, "Ignoring runtime changes to WSBB config; " + properties); } // T...
java
private void updateBufferManager(Map<String, Object> properties) { if (properties.isEmpty()) { return; } if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.event(this, tc, "Ignoring runtime changes to WSBB config; " + properties); } // T...
[ "private", "void", "updateBufferManager", "(", "Map", "<", "String", ",", "Object", ">", "properties", ")", "{", "if", "(", "properties", ".", "isEmpty", "(", ")", ")", "{", "return", ";", "}", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ...
This is used to provide the runtime configuration changes to an existing pool manager, which is a small subset of the possible creation properties. @param properties
[ "This", "is", "used", "to", "provide", "the", "runtime", "configuration", "changes", "to", "an", "existing", "pool", "manager", "which", "is", "a", "small", "subset", "of", "the", "possible", "creation", "properties", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/bytebuffer/internal/ByteBufferConfiguration.java#L175-L183
67,026
OpenLiberty/open-liberty
dev/com.ibm.ws.monitor/src/com/ibm/websphere/pmi/PerfModules.java
PerfModules.initConfigs
private synchronized static void initConfigs() { for (int i = 0; i < moduleIDs.length; i++) { // add module configs one by one //addModuleInfo(moduleIDs[i] + modulePrefix); // don't do validation since in pre-defined module getConfigFromXMLFile(getXmlFileName(modu...
java
private synchronized static void initConfigs() { for (int i = 0; i < moduleIDs.length; i++) { // add module configs one by one //addModuleInfo(moduleIDs[i] + modulePrefix); // don't do validation since in pre-defined module getConfigFromXMLFile(getXmlFileName(modu...
[ "private", "synchronized", "static", "void", "initConfigs", "(", ")", "{", "for", "(", "int", "i", "=", "0", ";", "i", "<", "moduleIDs", ".", "length", ";", "i", "++", ")", "{", "// add module configs one by one", "//addModuleInfo(moduleIDs[i] + modulePrefix);", ...
Init moduleConfigs with array moduleIDs - use modulePrefix because they are all websphere default PMI modules
[ "Init", "moduleConfigs", "with", "array", "moduleIDs", "-", "use", "modulePrefix", "because", "they", "are", "all", "websphere", "default", "PMI", "modules" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/websphere/pmi/PerfModules.java#L114-L121
67,027
OpenLiberty/open-liberty
dev/com.ibm.ws.monitor/src/com/ibm/websphere/pmi/PerfModules.java
PerfModules.getConfig
public static PmiModuleConfig getConfig(String moduleID) { if (moduleID == null) return null; PmiModuleConfig config = (PmiModuleConfig) moduleConfigs.get(moduleID); if (config == null) { // beanModule and com.ibm.websphere.pmi.xml.beanModule will work // if...
java
public static PmiModuleConfig getConfig(String moduleID) { if (moduleID == null) return null; PmiModuleConfig config = (PmiModuleConfig) moduleConfigs.get(moduleID); if (config == null) { // beanModule and com.ibm.websphere.pmi.xml.beanModule will work // if...
[ "public", "static", "PmiModuleConfig", "getConfig", "(", "String", "moduleID", ")", "{", "if", "(", "moduleID", "==", "null", ")", "return", "null", ";", "PmiModuleConfig", "config", "=", "(", "PmiModuleConfig", ")", "moduleConfigs", ".", "get", "(", "moduleID...
return PmiModuleConfig for a given moduleID
[ "return", "PmiModuleConfig", "for", "a", "given", "moduleID" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/websphere/pmi/PerfModules.java#L130-L155
67,028
OpenLiberty/open-liberty
dev/com.ibm.ws.monitor/src/com/ibm/websphere/pmi/PerfModules.java
PerfModules.findConfig
public static PmiModuleConfig findConfig(PmiModuleConfig[] configs, String moduleID) { if (moduleID == null) return null; for (int i = 0; i < configs.length; i++) { if (configs[i].getUID().equals(moduleID)) // VELA //configs[i].getShortName().equals(moduleID)) ...
java
public static PmiModuleConfig findConfig(PmiModuleConfig[] configs, String moduleID) { if (moduleID == null) return null; for (int i = 0; i < configs.length; i++) { if (configs[i].getUID().equals(moduleID)) // VELA //configs[i].getShortName().equals(moduleID)) ...
[ "public", "static", "PmiModuleConfig", "findConfig", "(", "PmiModuleConfig", "[", "]", "configs", ",", "String", "moduleID", ")", "{", "if", "(", "moduleID", "==", "null", ")", "return", "null", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "co...
return the config for the moduleID
[ "return", "the", "config", "for", "the", "moduleID" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/websphere/pmi/PerfModules.java#L158-L168
67,029
OpenLiberty/open-liberty
dev/com.ibm.ws.monitor/src/com/ibm/websphere/pmi/PerfModules.java
PerfModules.getConfigFromXMLFile
public synchronized static PmiModuleConfig getConfigFromXMLFile(String xmlFilePath, boolean bFromCache, boolean bValidate) { //System.out.println ("[PerfModules] getConfigFromXMLFile(): " +xmlFilePath); PmiModuleConfig config = null; // if xmlFilePath = /com/ibm/websphere/pmi/customMod.xml ...
java
public synchronized static PmiModuleConfig getConfigFromXMLFile(String xmlFilePath, boolean bFromCache, boolean bValidate) { //System.out.println ("[PerfModules] getConfigFromXMLFile(): " +xmlFilePath); PmiModuleConfig config = null; // if xmlFilePath = /com/ibm/websphere/pmi/customMod.xml ...
[ "public", "synchronized", "static", "PmiModuleConfig", "getConfigFromXMLFile", "(", "String", "xmlFilePath", ",", "boolean", "bFromCache", ",", "boolean", "bValidate", ")", "{", "//System.out.println (\"[PerfModules] getConfigFromXMLFile(): \" +xmlFilePath);", "PmiModuleConfig", ...
will parsed one more time
[ "will", "parsed", "one", "more", "time" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/websphere/pmi/PerfModules.java#L204-L334
67,030
OpenLiberty/open-liberty
dev/com.ibm.ws.monitor/src/com/ibm/websphere/pmi/PerfModules.java
PerfModules.getDataName
public static String getDataName(String moduleName, int dataId) { PmiModuleConfig config = PerfModules.getConfig(moduleName); if (config == null) return null; PmiDataInfo info = config.getDataInfo(dataId); if (info == null) return null; else r...
java
public static String getDataName(String moduleName, int dataId) { PmiModuleConfig config = PerfModules.getConfig(moduleName); if (config == null) return null; PmiDataInfo info = config.getDataInfo(dataId); if (info == null) return null; else r...
[ "public", "static", "String", "getDataName", "(", "String", "moduleName", ",", "int", "dataId", ")", "{", "PmiModuleConfig", "config", "=", "PerfModules", ".", "getConfig", "(", "moduleName", ")", ";", "if", "(", "config", "==", "null", ")", "return", "null"...
Convert data id to data name
[ "Convert", "data", "id", "to", "data", "name" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/websphere/pmi/PerfModules.java#L356-L366
67,031
OpenLiberty/open-liberty
dev/com.ibm.ws.monitor/src/com/ibm/websphere/pmi/PerfModules.java
PerfModules.getDataId
public static int getDataId(String moduleName, String dataName) { PmiModuleConfig config = PerfModules.getConfig(moduleName); // attach module name to it - this has to be consistent with the PMI xml config files // under com/ibm/websphere/pmi/xxModule.xml if (dataName.indexOf('.') < 0) ...
java
public static int getDataId(String moduleName, String dataName) { PmiModuleConfig config = PerfModules.getConfig(moduleName); // attach module name to it - this has to be consistent with the PMI xml config files // under com/ibm/websphere/pmi/xxModule.xml if (dataName.indexOf('.') < 0) ...
[ "public", "static", "int", "getDataId", "(", "String", "moduleName", ",", "String", "dataName", ")", "{", "PmiModuleConfig", "config", "=", "PerfModules", ".", "getConfig", "(", "moduleName", ")", ";", "// attach module name to it - this has to be consistent with the PMI ...
Convert data name to dataId
[ "Convert", "data", "name", "to", "dataId" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/websphere/pmi/PerfModules.java#L371-L381
67,032
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/DurableSubscriptionItemStream.java
DurableSubscriptionItemStream.getConsumerDispatcherState
public ConsumerDispatcherState getConsumerDispatcherState() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getConsumerDispatcherState"); SibTr.exit(tc, "getConsumerDispatcherState", _subState); } return _subState; }
java
public ConsumerDispatcherState getConsumerDispatcherState() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getConsumerDispatcherState"); SibTr.exit(tc, "getConsumerDispatcherState", _subState); } return _subState; }
[ "public", "ConsumerDispatcherState", "getConsumerDispatcherState", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "SibTr", ".", "entry", "(", "tc", ",", "\"getConsumerDispa...
Returns the subState. @return Object
[ "Returns", "the", "subState", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/DurableSubscriptionItemStream.java#L462-L471
67,033
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/DurableSubscriptionItemStream.java
DurableSubscriptionItemStream.deleteDurableSubscription
private void deleteDurableSubscription( boolean callProxyCode) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "deleteDurableSubscription", new Object[] { new Boolean(callProxyCode) }); HashMap durableSubsTable = _destinationManager.getDura...
java
private void deleteDurableSubscription( boolean callProxyCode) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "deleteDurableSubscription", new Object[] { new Boolean(callProxyCode) }); HashMap durableSubsTable = _destinationManager.getDura...
[ "private", "void", "deleteDurableSubscription", "(", "boolean", "callProxyCode", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "tc", ",", "\"deleteDura...
Deletes the durable subscription from the list of durable subscriptions and calls through to the consumer dispatcher to remove the subscription from the MatchSpace. @param callProxyCode If the delete needs to call the proxy handling code.
[ "Deletes", "the", "durable", "subscription", "from", "the", "list", "of", "durable", "subscriptions", "and", "calls", "through", "to", "the", "consumer", "dispatcher", "to", "remove", "the", "subscription", "from", "the", "MatchSpace", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/store/itemstreams/DurableSubscriptionItemStream.java#L540-L599
67,034
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.core/src/com/ibm/ejs/ras/Tr.java
Tr.register
public static TraceComponent register(Class<?> aClass, String group) { return register(aClass, group, null); }
java
public static TraceComponent register(Class<?> aClass, String group) { return register(aClass, group, null); }
[ "public", "static", "TraceComponent", "register", "(", "Class", "<", "?", ">", "aClass", ",", "String", "group", ")", "{", "return", "register", "(", "aClass", ",", "group", ",", "null", ")", ";", "}" ]
Register the provided class with the trace service and assign it to the provided group name. @param aClass @param group @return TraceComponent
[ "Register", "the", "provided", "class", "with", "the", "trace", "service", "and", "assign", "it", "to", "the", "provided", "group", "name", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ejs/ras/Tr.java#L125-L127
67,035
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.core/src/com/ibm/ejs/ras/Tr.java
Tr.dump
public static final void dump(TraceComponent tc, String msg, Object obj) { if (obj != null && obj instanceof Object[]) { com.ibm.websphere.ras.Tr.dump(tc, msg, (Object[]) obj); } else { com.ibm.websphere.ras.Tr.dump(tc, msg, obj); } }
java
public static final void dump(TraceComponent tc, String msg, Object obj) { if (obj != null && obj instanceof Object[]) { com.ibm.websphere.ras.Tr.dump(tc, msg, (Object[]) obj); } else { com.ibm.websphere.ras.Tr.dump(tc, msg, obj); } }
[ "public", "static", "final", "void", "dump", "(", "TraceComponent", "tc", ",", "String", "msg", ",", "Object", "obj", ")", "{", "if", "(", "obj", "!=", "null", "&&", "obj", "instanceof", "Object", "[", "]", ")", "{", "com", ".", "ibm", ".", "webspher...
Print the provided message if the input trace component allows dump level messages. @param tc @param msg @param obj
[ "Print", "the", "provided", "message", "if", "the", "input", "trace", "component", "allows", "dump", "level", "messages", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ejs/ras/Tr.java#L227-L233
67,036
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.core/src/com/ibm/ejs/ras/Tr.java
Tr.entry
public static final void entry(TraceComponent tc, String methodName, Object obj) { if (obj != null && obj instanceof Object[]) { com.ibm.websphere.ras.Tr.entry(tc, methodName, (Object[]) obj); } else { com.ibm.websphere.ras.Tr.entry(tc, methodName, obj); } }
java
public static final void entry(TraceComponent tc, String methodName, Object obj) { if (obj != null && obj instanceof Object[]) { com.ibm.websphere.ras.Tr.entry(tc, methodName, (Object[]) obj); } else { com.ibm.websphere.ras.Tr.entry(tc, methodName, obj); } }
[ "public", "static", "final", "void", "entry", "(", "TraceComponent", "tc", ",", "String", "methodName", ",", "Object", "obj", ")", "{", "if", "(", "obj", "!=", "null", "&&", "obj", "instanceof", "Object", "[", "]", ")", "{", "com", ".", "ibm", ".", "...
Print the provided message if the input trace component allows entry level messages. @param tc @param methodName @param obj
[ "Print", "the", "provided", "message", "if", "the", "input", "trace", "component", "allows", "entry", "level", "messages", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ejs/ras/Tr.java#L254-L260
67,037
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.core/src/com/ibm/ejs/ras/Tr.java
Tr.error
public static final void error(TraceComponent tc, String msg) { com.ibm.websphere.ras.Tr.error(tc, msg); }
java
public static final void error(TraceComponent tc, String msg) { com.ibm.websphere.ras.Tr.error(tc, msg); }
[ "public", "static", "final", "void", "error", "(", "TraceComponent", "tc", ",", "String", "msg", ")", "{", "com", ".", "ibm", ".", "websphere", ".", "ras", ".", "Tr", ".", "error", "(", "tc", ",", "msg", ")", ";", "}" ]
Print the provided message if the input trace component allows error level messages. @param tc @param msg
[ "Print", "the", "provided", "message", "if", "the", "input", "trace", "component", "allows", "error", "level", "messages", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ejs/ras/Tr.java#L269-L271
67,038
OpenLiberty/open-liberty
dev/com.ibm.ws.logging.core/src/com/ibm/ejs/ras/Tr.java
Tr.exit
public static final void exit(TraceComponent tc, String methodName, Object obj) { com.ibm.websphere.ras.Tr.exit(tc, methodName, obj); }
java
public static final void exit(TraceComponent tc, String methodName, Object obj) { com.ibm.websphere.ras.Tr.exit(tc, methodName, obj); }
[ "public", "static", "final", "void", "exit", "(", "TraceComponent", "tc", ",", "String", "methodName", ",", "Object", "obj", ")", "{", "com", ".", "ibm", ".", "websphere", ".", "ras", ".", "Tr", ".", "exit", "(", "tc", ",", "methodName", ",", "obj", ...
Print the provided message if the input trace component allows exit level messages. @param tc @param methodName @param obj
[ "Print", "the", "provided", "message", "if", "the", "input", "trace", "component", "allows", "exit", "level", "messages", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.logging.core/src/com/ibm/ejs/ras/Tr.java#L335-L337
67,039
OpenLiberty/open-liberty
dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/session/internal/IDGenerator.java
IDGenerator.getID
public String getID() { byte[] genBytes = new byte[this.outputSize]; synchronized (this.generator) { this.generator.nextBytes(genBytes); } String id = convertSessionIdBytesToSessionId(genBytes, this.idLength); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnab...
java
public String getID() { byte[] genBytes = new byte[this.outputSize]; synchronized (this.generator) { this.generator.nextBytes(genBytes); } String id = convertSessionIdBytesToSessionId(genBytes, this.idLength); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnab...
[ "public", "String", "getID", "(", ")", "{", "byte", "[", "]", "genBytes", "=", "new", "byte", "[", "this", ".", "outputSize", "]", ";", "synchronized", "(", "this", ".", "generator", ")", "{", "this", ".", "generator", ".", "nextBytes", "(", "genBytes"...
Request the next random ID field from the generator. @return String
[ "Request", "the", "next", "random", "ID", "field", "from", "the", "generator", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/session/internal/IDGenerator.java#L95-L105
67,040
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/MatchResponse.java
MatchResponse.merge
public MatchResponse merge(MatchResponse matchResponse) { if (matchResponse == null || matchResponse == this) { return this; } else { boolean mergedSSLRequired = mergeSSLRequired(matchResponse.isSSLRequired()); boolean mergedAccessPrecluded = mergeAccessPrecluded(matc...
java
public MatchResponse merge(MatchResponse matchResponse) { if (matchResponse == null || matchResponse == this) { return this; } else { boolean mergedSSLRequired = mergeSSLRequired(matchResponse.isSSLRequired()); boolean mergedAccessPrecluded = mergeAccessPrecluded(matc...
[ "public", "MatchResponse", "merge", "(", "MatchResponse", "matchResponse", ")", "{", "if", "(", "matchResponse", "==", "null", "||", "matchResponse", "==", "this", ")", "{", "return", "this", ";", "}", "else", "{", "boolean", "mergedSSLRequired", "=", "mergeSS...
Merges the roles, sslRequired, and accessPrecluded fields according to the Servlet 2.3 and 3.0 specifications. @param matchResponse @return
[ "Merges", "the", "roles", "sslRequired", "and", "accessPrecluded", "fields", "according", "to", "the", "Servlet", "2", ".", "3", "and", "3", ".", "0", "specifications", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/MatchResponse.java#L140-L149
67,041
OpenLiberty/open-liberty
dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/MatchResponse.java
MatchResponse.mergeSSLRequired
protected boolean mergeSSLRequired(boolean otherSSLRequired) { boolean mergedSSLRequired = false; if (collectionMatch.isExactMatch()) { mergedSSLRequired = sslRequired && otherSSLRequired; } else if (collectionMatch.isPathMatch() || collectionMatch.isExtensionMatch()) { m...
java
protected boolean mergeSSLRequired(boolean otherSSLRequired) { boolean mergedSSLRequired = false; if (collectionMatch.isExactMatch()) { mergedSSLRequired = sslRequired && otherSSLRequired; } else if (collectionMatch.isPathMatch() || collectionMatch.isExtensionMatch()) { m...
[ "protected", "boolean", "mergeSSLRequired", "(", "boolean", "otherSSLRequired", ")", "{", "boolean", "mergedSSLRequired", "=", "false", ";", "if", "(", "collectionMatch", ".", "isExactMatch", "(", ")", ")", "{", "mergedSSLRequired", "=", "sslRequired", "&&", "othe...
Merges the sslRequired fields. For exact match, SSL not required takes precedence. For path matches of equal length and extension match, SSL required takes precedence. @param otherSSLRequired @return
[ "Merges", "the", "sslRequired", "fields", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer.security/src/com/ibm/ws/webcontainer/security/metadata/MatchResponse.java#L160-L168
67,042
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/StartupServletContextListener.java
StartupServletContextListener._publishManagedBeanDestroyerListener
private void _publishManagedBeanDestroyerListener(FacesContext facesContext) { ExternalContext externalContext = facesContext.getExternalContext(); Map<String, Object> applicationMap = externalContext.getApplicationMap(); applicationMap.put(ManagedBeanDestroyerListener.APPLICATION_MAP_KEY, ...
java
private void _publishManagedBeanDestroyerListener(FacesContext facesContext) { ExternalContext externalContext = facesContext.getExternalContext(); Map<String, Object> applicationMap = externalContext.getApplicationMap(); applicationMap.put(ManagedBeanDestroyerListener.APPLICATION_MAP_KEY, ...
[ "private", "void", "_publishManagedBeanDestroyerListener", "(", "FacesContext", "facesContext", ")", "{", "ExternalContext", "externalContext", "=", "facesContext", ".", "getExternalContext", "(", ")", ";", "Map", "<", "String", ",", "Object", ">", "applicationMap", "...
Publishes the ManagedBeanDestroyerListener instance in the application map. This allows the FacesConfigurator to access the instance and to set the correct ManagedBeanDestroyer instance on it. @param facesContext
[ "Publishes", "the", "ManagedBeanDestroyerListener", "instance", "in", "the", "application", "map", ".", "This", "allows", "the", "FacesConfigurator", "to", "access", "the", "instance", "and", "to", "set", "the", "correct", "ManagedBeanDestroyer", "instance", "on", "...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/StartupServletContextListener.java#L142-L148
67,043
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/StartupServletContextListener.java
StartupServletContextListener.setFacesInitializer
public void setFacesInitializer(FacesInitializer facesInitializer) // TODO who uses this method? { if (_facesInitializer != null && _facesInitializer != facesInitializer && _servletContext != null) { _facesInitializer.destroyFaces(_servletContext); } _facesInitializer = f...
java
public void setFacesInitializer(FacesInitializer facesInitializer) // TODO who uses this method? { if (_facesInitializer != null && _facesInitializer != facesInitializer && _servletContext != null) { _facesInitializer.destroyFaces(_servletContext); } _facesInitializer = f...
[ "public", "void", "setFacesInitializer", "(", "FacesInitializer", "facesInitializer", ")", "// TODO who uses this method?", "{", "if", "(", "_facesInitializer", "!=", "null", "&&", "_facesInitializer", "!=", "facesInitializer", "&&", "_servletContext", "!=", "null", ")", ...
configure the faces initializer @param facesInitializer
[ "configure", "the", "faces", "initializer" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/StartupServletContextListener.java#L186-L197
67,044
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/StartupServletContextListener.java
StartupServletContextListener.dispatchInitializationEvent
private void dispatchInitializationEvent(ServletContextEvent event, int operation) { if (operation == FACES_INIT_PHASE_PREINIT) { if (!loadFacesInitPluginsJDK6()) { loadFacesInitPluginsJDK5(); } } List<StartupListener> pluginEntri...
java
private void dispatchInitializationEvent(ServletContextEvent event, int operation) { if (operation == FACES_INIT_PHASE_PREINIT) { if (!loadFacesInitPluginsJDK6()) { loadFacesInitPluginsJDK5(); } } List<StartupListener> pluginEntri...
[ "private", "void", "dispatchInitializationEvent", "(", "ServletContextEvent", "event", ",", "int", "operation", ")", "{", "if", "(", "operation", "==", "FACES_INIT_PHASE_PREINIT", ")", "{", "if", "(", "!", "loadFacesInitPluginsJDK6", "(", ")", ")", "{", "loadFaces...
the central initialisation event dispatcher which calls our listeners @param event @param operation
[ "the", "central", "initialisation", "event", "dispatcher", "which", "calls", "our", "listeners" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/webapp/StartupServletContextListener.java#L300-L342
67,045
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/proxyqueue/impl/ConversationHelperImpl.java
ConversationHelperImpl.unsetAsynchConsumer
public void unsetAsynchConsumer(boolean stoppable) //SIB0115d.comms throws SISessionUnavailableException, SISessionDroppedException, SIConnectionUnavailableException, SIConnectionDroppedException, SIErrorException, SIIncorrec...
java
public void unsetAsynchConsumer(boolean stoppable) //SIB0115d.comms throws SISessionUnavailableException, SISessionDroppedException, SIConnectionUnavailableException, SIConnectionDroppedException, SIErrorException, SIIncorrec...
[ "public", "void", "unsetAsynchConsumer", "(", "boolean", "stoppable", ")", "//SIB0115d.comms", "throws", "SISessionUnavailableException", ",", "SISessionDroppedException", ",", "SIConnectionUnavailableException", ",", "SIConnectionDroppedException", ",", "SIErrorException", ",", ...
Sends a request to unset the asynchronous consumer.
[ "Sends", "a", "request", "to", "unset", "the", "asynchronous", "consumer", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/proxyqueue/impl/ConversationHelperImpl.java#L104-L173
67,046
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/proxyqueue/impl/ConversationHelperImpl.java
ConversationHelperImpl.setAsynchConsumer
public void setAsynchConsumer(AsynchConsumerCallback consumer, int maxActiveMessages, long messageLockExpiry, int maxBatchSize, OrderingContext orderContext, ...
java
public void setAsynchConsumer(AsynchConsumerCallback consumer, int maxActiveMessages, long messageLockExpiry, int maxBatchSize, OrderingContext orderContext, ...
[ "public", "void", "setAsynchConsumer", "(", "AsynchConsumerCallback", "consumer", ",", "int", "maxActiveMessages", ",", "long", "messageLockExpiry", ",", "int", "maxBatchSize", ",", "OrderingContext", "orderContext", ",", "int", "maxSequentialFailures", ",", "//SIB0115d.c...
Sends a request to set the asynchronous consumer. @param consumer @param maxActiveMessages @param messageLockExpiry @param maxBatchSize @param orderContext @param maxSequentialFailures @param hiddenMessageDelay
[ "Sends", "a", "request", "to", "set", "the", "asynchronous", "consumer", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/proxyqueue/impl/ConversationHelperImpl.java#L186-L300
67,047
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/proxyqueue/impl/ConversationHelperImpl.java
ConversationHelperImpl.exchangeStop
public void exchangeStop() throws SISessionUnavailableException, SISessionDroppedException, SIConnectionUnavailableException, SIConnectionDroppedException, SIResourceException, SIConnectionLostException, SIErrorException { if (TraceComponent.isAnyTracingEnabled() &&...
java
public void exchangeStop() throws SISessionUnavailableException, SISessionDroppedException, SIConnectionUnavailableException, SIConnectionDroppedException, SIResourceException, SIConnectionLostException, SIErrorException { if (TraceComponent.isAnyTracingEnabled() &&...
[ "public", "void", "exchangeStop", "(", ")", "throws", "SISessionUnavailableException", ",", "SISessionDroppedException", ",", "SIConnectionUnavailableException", ",", "SIConnectionDroppedException", ",", "SIResourceException", ",", "SIConnectionLostException", ",", "SIErrorExcept...
Sends a request to stop the session.
[ "Sends", "a", "request", "to", "stop", "the", "session", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/proxyqueue/impl/ConversationHelperImpl.java#L363-L421
67,048
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/proxyqueue/impl/ConversationHelperImpl.java
ConversationHelperImpl.deleteMessages
public void deleteMessages(SIMessageHandle[] msgHandles, SITransaction tran, int priority) throws SISessionUnavailableException, SISessionDroppedException, SIConnectionUnavailableException, SIConnectionDroppedException, SIResour...
java
public void deleteMessages(SIMessageHandle[] msgHandles, SITransaction tran, int priority) throws SISessionUnavailableException, SISessionDroppedException, SIConnectionUnavailableException, SIConnectionDroppedException, SIResour...
[ "public", "void", "deleteMessages", "(", "SIMessageHandle", "[", "]", "msgHandles", ",", "SITransaction", "tran", ",", "int", "priority", ")", "throws", "SISessionUnavailableException", ",", "SISessionDroppedException", ",", "SIConnectionUnavailableException", ",", "SICon...
Deletes a set of messages based on their IDs in the scope of a specific transaction. @param msgIDs @param tran @param priority
[ "Deletes", "a", "set", "of", "messages", "based", "on", "their", "IDs", "in", "the", "scope", "of", "a", "specific", "transaction", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/proxyqueue/impl/ConversationHelperImpl.java#L599-L698
67,049
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/proxyqueue/impl/ConversationHelperImpl.java
ConversationHelperImpl.setSessionId
public void setSessionId(short sessionId) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setSessionId", ""+sessionId); if (this.sessionId == 0 && sessionId != 0) { this.sessionId = sessionId; } else { // If the session I...
java
public void setSessionId(short sessionId) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setSessionId", ""+sessionId); if (this.sessionId == 0 && sessionId != 0) { this.sessionId = sessionId; } else { // If the session I...
[ "public", "void", "setSessionId", "(", "short", "sessionId", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", ",", "\"setSessionId\...
This method will set the ID of the session that we will flow to the server to identify us. This method can only be called once. @param sessionId The session ID.
[ "This", "method", "will", "set", "the", "ID", "of", "the", "session", "that", "we", "will", "flow", "to", "the", "server", "to", "identify", "us", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/proxyqueue/impl/ConversationHelperImpl.java#L771-L795
67,050
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/CacheingMatcher.java
CacheingMatcher.get
public void get(Object rootVal, MatchSpaceKey msg, EvalCache cache, Object contextValue, SearchResults result) throws MatchingException,BadMessageFormatMatchingException { if (tc.isEntryEnabled()) tc.entry(this,cclass, "get", new Obj...
java
public void get(Object rootVal, MatchSpaceKey msg, EvalCache cache, Object contextValue, SearchResults result) throws MatchingException,BadMessageFormatMatchingException { if (tc.isEntryEnabled()) tc.entry(this,cclass, "get", new Obj...
[ "public", "void", "get", "(", "Object", "rootVal", ",", "MatchSpaceKey", "msg", ",", "EvalCache", "cache", ",", "Object", "contextValue", ",", "SearchResults", "result", ")", "throws", "MatchingException", ",", "BadMessageFormatMatchingException", "{", "if", "(", ...
get delegates and also caches and reports whether there are any tests below this point in the tree.
[ "get", "delegates", "and", "also", "caches", "and", "reports", "whether", "there", "are", "any", "tests", "below", "this", "point", "in", "the", "tree", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/CacheingMatcher.java#L76-L92
67,051
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/CacheingMatcher.java
CacheingMatcher.remove
public ContentMatcher remove(Conjunction selector, MatchTarget object, InternTable subExpr, OrdinalPosition parentId) throws MatchingException { if (tc.isEntryEnabled()) tc.entry(this,cclass, "remove","selector: "+selector+", object: "+object); vacantChild = vacantChild.remove(selector, object, subE...
java
public ContentMatcher remove(Conjunction selector, MatchTarget object, InternTable subExpr, OrdinalPosition parentId) throws MatchingException { if (tc.isEntryEnabled()) tc.entry(this,cclass, "remove","selector: "+selector+", object: "+object); vacantChild = vacantChild.remove(selector, object, subE...
[ "public", "ContentMatcher", "remove", "(", "Conjunction", "selector", ",", "MatchTarget", "object", ",", "InternTable", "subExpr", ",", "OrdinalPosition", "parentId", ")", "throws", "MatchingException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", ...
Remove just delegates
[ "Remove", "just", "delegates" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/CacheingMatcher.java#L95-L110
67,052
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/io/DynamicPushbackInputStream.java
DynamicPushbackInputStream.shrink
public int shrink() { byte[] old = buf; if (pos == 0) { return 0; // nothing to do } int n = old.length - pos; int m; int p; int s; int l; if (n < origsize) { buf = new byte[origsize]; p = pos...
java
public int shrink() { byte[] old = buf; if (pos == 0) { return 0; // nothing to do } int n = old.length - pos; int m; int p; int s; int l; if (n < origsize) { buf = new byte[origsize]; p = pos...
[ "public", "int", "shrink", "(", ")", "{", "byte", "[", "]", "old", "=", "buf", ";", "if", "(", "pos", "==", "0", ")", "{", "return", "0", ";", "// nothing to do", "}", "int", "n", "=", "old", ".", "length", "-", "pos", ";", "int", "m", ";", "...
Shrink the buffer. This will reclaim currently unused space in the buffer, reducing memory but potentially increasing the cost of resizing the buffer
[ "Shrink", "the", "buffer", ".", "This", "will", "reclaim", "currently", "unused", "space", "in", "the", "buffer", "reducing", "memory", "but", "potentially", "increasing", "the", "cost", "of", "resizing", "the", "buffer" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/shared/util/io/DynamicPushbackInputStream.java#L62-L94
67,053
OpenLiberty/open-liberty
dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/RRSNoTransactionWrapper.java
RRSNoTransactionWrapper.isRRSTransactional
@Override public boolean isRRSTransactional() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, hexId() + ":isRRSTransactional()=" + true); } return true; }
java
@Override public boolean isRRSTransactional() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, hexId() + ":isRRSTransactional()=" + true); } return true; }
[ "@", "Override", "public", "boolean", "isRRSTransactional", "(", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "{", "Tr", ".", "debug", "(", "tc", ",", "hexId", "(", ")", ...
Indicate whether this TranWrapper is RRS transactional
[ "Indicate", "whether", "this", "TranWrapper", "is", "RRS", "transactional" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jca.cm/src/com/ibm/ejs/j2c/RRSNoTransactionWrapper.java#L81-L87
67,054
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java
FaceletViewDeclarationLanguage.createCompiler
protected Compiler createCompiler(FacesContext context) { Compiler compiler = new SAXCompiler(); compiler.setDevelopmentProjectStage(context.isProjectStage(ProjectStage.Development)); loadLibraries(context, compiler); loadDecorators(context, compiler); loadOptions(context, ...
java
protected Compiler createCompiler(FacesContext context) { Compiler compiler = new SAXCompiler(); compiler.setDevelopmentProjectStage(context.isProjectStage(ProjectStage.Development)); loadLibraries(context, compiler); loadDecorators(context, compiler); loadOptions(context, ...
[ "protected", "Compiler", "createCompiler", "(", "FacesContext", "context", ")", "{", "Compiler", "compiler", "=", "new", "SAXCompiler", "(", ")", ";", "compiler", ".", "setDevelopmentProjectStage", "(", "context", ".", "isProjectStage", "(", "ProjectStage", ".", "...
Creates the Facelet page compiler. @param context the current FacesContext @return the application's Facelet page compiler
[ "Creates", "the", "Facelet", "page", "compiler", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java#L2173-L2184
67,055
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java
FaceletViewDeclarationLanguage.createFaceletFactory
protected FaceletFactory createFaceletFactory(FacesContext context, Compiler compiler) { ExternalContext eContext = context.getExternalContext(); // refresh period long refreshPeriod; if (context.isProjectStage(ProjectStage.Production)) { refreshPeriod = WebConfi...
java
protected FaceletFactory createFaceletFactory(FacesContext context, Compiler compiler) { ExternalContext eContext = context.getExternalContext(); // refresh period long refreshPeriod; if (context.isProjectStage(ProjectStage.Production)) { refreshPeriod = WebConfi...
[ "protected", "FaceletFactory", "createFaceletFactory", "(", "FacesContext", "context", ",", "Compiler", "compiler", ")", "{", "ExternalContext", "eContext", "=", "context", ".", "getExternalContext", "(", ")", ";", "// refresh period", "long", "refreshPeriod", ";", "i...
Creates a FaceletFactory instance using the specified compiler. @param context the current FacesContext @param compiler the compiler to be used by the factory @return the factory used by this VDL to load pages
[ "Creates", "a", "FaceletFactory", "instance", "using", "the", "specified", "compiler", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java#L2196-L2236
67,056
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java
FaceletViewDeclarationLanguage.getResponseContentType
protected String getResponseContentType(FacesContext context, String orig) { String contentType = orig; // see if we need to override the contentType Map<Object, Object> m = context.getAttributes(); if (m.containsKey("facelets.ContentType")) { contentType = (Stri...
java
protected String getResponseContentType(FacesContext context, String orig) { String contentType = orig; // see if we need to override the contentType Map<Object, Object> m = context.getAttributes(); if (m.containsKey("facelets.ContentType")) { contentType = (Stri...
[ "protected", "String", "getResponseContentType", "(", "FacesContext", "context", ",", "String", "orig", ")", "{", "String", "contentType", "=", "orig", ";", "// see if we need to override the contentType", "Map", "<", "Object", ",", "Object", ">", "m", "=", "context...
Generate the content type @param context @param orig @return
[ "Generate", "the", "content", "type" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java#L2343-L2366
67,057
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java
FaceletViewDeclarationLanguage.getResponseEncoding
protected String getResponseEncoding(FacesContext context, String orig) { String encoding = orig; // see if we need to override the encoding Map<Object, Object> m = context.getAttributes(); Map<String, Object> sm = context.getExternalContext().getSessionMap(); // 1. check t...
java
protected String getResponseEncoding(FacesContext context, String orig) { String encoding = orig; // see if we need to override the encoding Map<Object, Object> m = context.getAttributes(); Map<String, Object> sm = context.getExternalContext().getSessionMap(); // 1. check t...
[ "protected", "String", "getResponseEncoding", "(", "FacesContext", "context", ",", "String", "orig", ")", "{", "String", "encoding", "=", "orig", ";", "// see if we need to override the encoding", "Map", "<", "Object", ",", "Object", ">", "m", "=", "context", ".",...
Generate the encoding @param context @param orig @return
[ "Generate", "the", "encoding" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java#L2375-L2422
67,058
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java
FaceletViewDeclarationLanguage.initialize
protected void initialize(FacesContext context) { log.finest("Initializing"); Compiler compiler = createCompiler(context); _faceletFactory = createFaceletFactory(context, compiler); ExternalContext eContext = context.getExternalContext(); _initializeBuffer(eContext); ...
java
protected void initialize(FacesContext context) { log.finest("Initializing"); Compiler compiler = createCompiler(context); _faceletFactory = createFaceletFactory(context, compiler); ExternalContext eContext = context.getExternalContext(); _initializeBuffer(eContext); ...
[ "protected", "void", "initialize", "(", "FacesContext", "context", ")", "{", "log", ".", "finest", "(", "\"Initializing\"", ")", ";", "Compiler", "compiler", "=", "createCompiler", "(", "context", ")", ";", "_faceletFactory", "=", "createFaceletFactory", "(", "c...
Initialize the ViewHandler during its first request.
[ "Initialize", "the", "ViewHandler", "during", "its", "first", "request", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java#L2467-L2494
67,059
OpenLiberty/open-liberty
dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java
FaceletViewDeclarationLanguage._getFacelet
private Facelet _getFacelet(FacesContext context, String viewId) throws IOException { // grab our FaceletFactory and create a Facelet FaceletFactory.setInstance(_faceletFactory); try { return _faceletFactory.getFacelet(context, viewId); } finally {...
java
private Facelet _getFacelet(FacesContext context, String viewId) throws IOException { // grab our FaceletFactory and create a Facelet FaceletFactory.setInstance(_faceletFactory); try { return _faceletFactory.getFacelet(context, viewId); } finally {...
[ "private", "Facelet", "_getFacelet", "(", "FacesContext", "context", ",", "String", "viewId", ")", "throws", "IOException", "{", "// grab our FaceletFactory and create a Facelet", "FaceletFactory", ".", "setInstance", "(", "_faceletFactory", ")", ";", "try", "{", "retur...
Gets the Facelet representing the specified view identifier. @param viewId the view identifier @return the Facelet representing the specified view identifier @throws IOException if a read or parsing error occurs
[ "Gets", "the", "Facelet", "representing", "the", "specified", "view", "identifier", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java#L2577-L2589
67,060
OpenLiberty/open-liberty
dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/jta/embeddable/impl/EmbeddableTMHelper.java
EmbeddableTMHelper.retrieveBundleContext
@Override protected void retrieveBundleContext() { BundleContext bc = TxBundleTools.getBundleContext(); if (tc.isDebugEnabled()) Tr.debug(tc, "retrieveBundleContext from TxBundleTools, bc " + bc); if (bc == null) { bc = EmbeddableTxBundleTools.getBundleContext(); ...
java
@Override protected void retrieveBundleContext() { BundleContext bc = TxBundleTools.getBundleContext(); if (tc.isDebugEnabled()) Tr.debug(tc, "retrieveBundleContext from TxBundleTools, bc " + bc); if (bc == null) { bc = EmbeddableTxBundleTools.getBundleContext(); ...
[ "@", "Override", "protected", "void", "retrieveBundleContext", "(", ")", "{", "BundleContext", "bc", "=", "TxBundleTools", ".", "getBundleContext", "(", ")", ";", "if", "(", "tc", ".", "isDebugEnabled", "(", ")", ")", "Tr", ".", "debug", "(", "tc", ",", ...
This method retrieves bundle context from the the ws.tx.embeddable bundle so that if that bundle has started before the tx.jta bundle, then we are still able to access the Service Registry. @return
[ "This", "method", "retrieves", "bundle", "context", "from", "the", "the", "ws", ".", "tx", ".", "embeddable", "bundle", "so", "that", "if", "that", "bundle", "has", "started", "before", "the", "tx", ".", "jta", "bundle", "then", "we", "are", "still", "ab...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/jta/embeddable/impl/EmbeddableTMHelper.java#L46-L58
67,061
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java
ThreadPool.setRequestBufferSize
public synchronized void setRequestBufferSize(int size) { if (size <= 0) { throw new IllegalArgumentException("request buffer size must be greater than zero"); } if (this.requestBuffer.size() != 0) { throw new IllegalStateException("cannot resize non-empty ThreadPool re...
java
public synchronized void setRequestBufferSize(int size) { if (size <= 0) { throw new IllegalArgumentException("request buffer size must be greater than zero"); } if (this.requestBuffer.size() != 0) { throw new IllegalStateException("cannot resize non-empty ThreadPool re...
[ "public", "synchronized", "void", "setRequestBufferSize", "(", "int", "size", ")", "{", "if", "(", "size", "<=", "0", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"request buffer size must be greater than zero\"", ")", ";", "}", "if", "(", "this", ...
Sets the size of the request buffer. If work has been dispatched on this thread pool, the behavior of this method and all subsequent calls to this pool are undefined. As a result of the request buffer size being set the expansion limit of the buffer is set to be 10 times greater than the newly configured buffer size.
[ "Sets", "the", "size", "of", "the", "request", "buffer", ".", "If", "work", "has", "been", "dispatched", "on", "this", "thread", "pool", "the", "behavior", "of", "this", "method", "and", "all", "subsequent", "calls", "to", "this", "pool", "are", "undefined...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java#L605-L618
67,062
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java
ThreadPool.addThread
@Deprecated protected void addThread(Runnable command) { Worker worker; if (_isDecoratedZOS) // 331761A worker = new DecoratedZOSWorker(command, threadid++); // 331761A else // 331761A worker = new Worker(command, threadid++); // LIDB1855-58 // D5...
java
@Deprecated protected void addThread(Runnable command) { Worker worker; if (_isDecoratedZOS) // 331761A worker = new DecoratedZOSWorker(command, threadid++); // 331761A else // 331761A worker = new Worker(command, threadid++); // LIDB1855-58 // D5...
[ "@", "Deprecated", "protected", "void", "addThread", "(", "Runnable", "command", ")", "{", "Worker", "worker", ";", "if", "(", "_isDecoratedZOS", ")", "// 331761A", "worker", "=", "new", "DecoratedZOSWorker", "(", "command", ",", "threadid", "++", ")", ";", ...
Create and start a thread to handle a new command. Call only when holding lock. @deprecated This will be private in a future release.
[ "Create", "and", "start", "a", "thread", "to", "handle", "a", "new", "command", ".", "Call", "only", "when", "holding", "lock", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java#L633-L676
67,063
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java
ThreadPool.createThreads
@Deprecated public int createThreads(int numberOfThreads) { int ncreated = 0; for (int i = 0; i < numberOfThreads; ++i) { synchronized (this) { if (poolSize_ < maximumPoolSize_) { addThread(null); ++ncreated; } els...
java
@Deprecated public int createThreads(int numberOfThreads) { int ncreated = 0; for (int i = 0; i < numberOfThreads; ++i) { synchronized (this) { if (poolSize_ < maximumPoolSize_) { addThread(null); ++ncreated; } els...
[ "@", "Deprecated", "public", "int", "createThreads", "(", "int", "numberOfThreads", ")", "{", "int", "ncreated", "=", "0", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "numberOfThreads", ";", "++", "i", ")", "{", "synchronized", "(", "this", ...
Create and start up to numberOfThreads threads in the pool. Return the number created. This may be less than the number requested if creating more would exceed maximum pool size bound. @deprecated This method will go away in a future release. All thread creation should be done lazily.
[ "Create", "and", "start", "up", "to", "numberOfThreads", "threads", "in", "the", "pool", ".", "Return", "the", "number", "created", ".", "This", "may", "be", "less", "than", "the", "number", "requested", "if", "creating", "more", "would", "exceed", "maximum"...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java#L709-L725
67,064
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java
ThreadPool.workerDone
@Deprecated protected synchronized void workerDone(Worker w, boolean taskDied) { threads_.remove(w); if (taskDied) { --activeThreads; --poolSize_; } if (poolSize_ == 0 && shutdown_) { maximumPoolSize_ = minimumPoolSize_ = 0; // disable new threa...
java
@Deprecated protected synchronized void workerDone(Worker w, boolean taskDied) { threads_.remove(w); if (taskDied) { --activeThreads; --poolSize_; } if (poolSize_ == 0 && shutdown_) { maximumPoolSize_ = minimumPoolSize_ = 0; // disable new threa...
[ "@", "Deprecated", "protected", "synchronized", "void", "workerDone", "(", "Worker", "w", ",", "boolean", "taskDied", ")", "{", "threads_", ".", "remove", "(", "w", ")", ";", "if", "(", "taskDied", ")", "{", "--", "activeThreads", ";", "--", "poolSize_", ...
Cleanup method called upon termination of worker thread. @deprecated This will become private in a future release.
[ "Cleanup", "method", "called", "upon", "termination", "of", "worker", "thread", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java#L837-L853
67,065
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java
ThreadPool.getTask
@Deprecated protected Runnable getTask(boolean oldThread) throws InterruptedException { // PK77809 long waitTime; Runnable r = null; boolean firstTime = true; while (true) { synchronized (this) { // System.out.println("1 " + activeThreads + " : " + poolSi...
java
@Deprecated protected Runnable getTask(boolean oldThread) throws InterruptedException { // PK77809 long waitTime; Runnable r = null; boolean firstTime = true; while (true) { synchronized (this) { // System.out.println("1 " + activeThreads + " : " + poolSi...
[ "@", "Deprecated", "protected", "Runnable", "getTask", "(", "boolean", "oldThread", ")", "throws", "InterruptedException", "{", "// PK77809", "long", "waitTime", ";", "Runnable", "r", "=", "null", ";", "boolean", "firstTime", "=", "true", ";", "while", "(", "t...
Get a task from the handoff queue, or null if shutting down. @deprecated This will become private in a future release.
[ "Get", "a", "task", "from", "the", "handoff", "queue", "or", "null", "if", "shutting", "down", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java#L861-L937
67,066
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java
ThreadPool.setDecoratedZOS
public void setDecoratedZOS() { // 331761A if (xMemSetupThread == null) { try { final Class xMemCRBridgeClass = Class.forName("com.ibm.ws390.xmem.XMemCRBridgeImpl"); xMemSetupThread = xMemCRBridgeClass.getMethod("setupThreadStub", new Class[] { java.lang.Object.class...
java
public void setDecoratedZOS() { // 331761A if (xMemSetupThread == null) { try { final Class xMemCRBridgeClass = Class.forName("com.ibm.ws390.xmem.XMemCRBridgeImpl"); xMemSetupThread = xMemCRBridgeClass.getMethod("setupThreadStub", new Class[] { java.lang.Object.class...
[ "public", "void", "setDecoratedZOS", "(", ")", "{", "// 331761A", "if", "(", "xMemSetupThread", "==", "null", ")", "{", "try", "{", "final", "Class", "xMemCRBridgeClass", "=", "Class", ".", "forName", "(", "\"com.ibm.ws390.xmem.XMemCRBridgeImpl\"", ")", ";", "xM...
sets this thread pool to create threads which are decorated via setupThreadStub
[ "sets", "this", "thread", "pool", "to", "create", "threads", "which", "are", "decorated", "via", "setupThreadStub" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java#L1010-L1026
67,067
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java
ThreadPool.executeOnDaemon
public void executeOnDaemon(Runnable command) { int id = 0; final Runnable commandToRun = command; synchronized (this) { this.daemonId++; id = this.daemonId; } final String runId = name + " : DMN" + id; // d185137.2 Thread t = (Thread) AccessCo...
java
public void executeOnDaemon(Runnable command) { int id = 0; final Runnable commandToRun = command; synchronized (this) { this.daemonId++; id = this.daemonId; } final String runId = name + " : DMN" + id; // d185137.2 Thread t = (Thread) AccessCo...
[ "public", "void", "executeOnDaemon", "(", "Runnable", "command", ")", "{", "int", "id", "=", "0", ";", "final", "Runnable", "commandToRun", "=", "command", ";", "synchronized", "(", "this", ")", "{", "this", ".", "daemonId", "++", ";", "id", "=", "this",...
Dispatch work on a daemon thread. This thread is not accounted for in the pool. There are no corresponding ThreadPoolListener events. There is no MonitorPlugin support.
[ "Dispatch", "work", "on", "a", "daemon", "thread", ".", "This", "thread", "is", "not", "accounted", "for", "in", "the", "pool", ".", "There", "are", "no", "corresponding", "ThreadPoolListener", "events", ".", "There", "is", "no", "MonitorPlugin", "support", ...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java#L1066-L1089
67,068
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java
ThreadPool.execute
public void execute(Runnable command, int blockingMode) throws InterruptedException, ThreadPoolQueueIsFullException, IllegalStateException { // D186668 execute(command, blockingMode, 0); }
java
public void execute(Runnable command, int blockingMode) throws InterruptedException, ThreadPoolQueueIsFullException, IllegalStateException { // D186668 execute(command, blockingMode, 0); }
[ "public", "void", "execute", "(", "Runnable", "command", ",", "int", "blockingMode", ")", "throws", "InterruptedException", ",", "ThreadPoolQueueIsFullException", ",", "IllegalStateException", "{", "// D186668", "execute", "(", "command", ",", "blockingMode", ",", "0"...
Arrange for the given command to be executed by a thread in this pool. The call's behavior when the pool and its internal request queue are at full capacity is determined by the blockingMode. @param command - the work to be dispatched. @param blockingMode - specifies whether this call will block until capacity beco...
[ "Arrange", "for", "the", "given", "command", "to", "be", "executed", "by", "a", "thread", "in", "this", "pool", ".", "The", "call", "s", "behavior", "when", "the", "pool", "and", "its", "internal", "request", "queue", "are", "at", "full", "capacity", "is...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java#L1133-L1135
67,069
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java
ThreadPool.execute
public Runnable execute(Runnable command, long timeoutInMillis) throws InterruptedException, IllegalStateException { try { return execute(command, WAIT_WHEN_QUEUE_IS_FULL, timeoutInMillis); } catch (ThreadPoolQueueIsFullException e) { // we should not get here. // Ale...
java
public Runnable execute(Runnable command, long timeoutInMillis) throws InterruptedException, IllegalStateException { try { return execute(command, WAIT_WHEN_QUEUE_IS_FULL, timeoutInMillis); } catch (ThreadPoolQueueIsFullException e) { // we should not get here. // Ale...
[ "public", "Runnable", "execute", "(", "Runnable", "command", ",", "long", "timeoutInMillis", ")", "throws", "InterruptedException", ",", "IllegalStateException", "{", "try", "{", "return", "execute", "(", "command", ",", "WAIT_WHEN_QUEUE_IS_FULL", ",", "timeoutInMilli...
Arrange for the given command to be executed by a thread in this pool. If the pools internal request buffer is full, the call will block for at most timeoutInMillis milliseconds. @param command - the work to be dispatched. @param timeoutInMillis - the amount of time to block and wait if the request buffer is full. @re...
[ "Arrange", "for", "the", "given", "command", "to", "be", "executed", "by", "a", "thread", "in", "this", "pool", ".", "If", "the", "pools", "internal", "request", "buffer", "is", "full", "the", "call", "will", "block", "for", "at", "most", "timeoutInMillis"...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java#L1153-L1161
67,070
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java
ThreadPool.setMonitorPlugin
public void setMonitorPlugin(MonitorPlugin plugin) throws TooManyListenersException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "setMonitorPlugin", plugin); } if (this.monitorPlugin != null && !this.monitorPlugin.equals(plugin)) { t...
java
public void setMonitorPlugin(MonitorPlugin plugin) throws TooManyListenersException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "setMonitorPlugin", plugin); } if (this.monitorPlugin != null && !this.monitorPlugin.equals(plugin)) { t...
[ "public", "void", "setMonitorPlugin", "(", "MonitorPlugin", "plugin", ")", "throws", "TooManyListenersException", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "{", "Tr", ".", "entry", ...
Registers a MonitorPlugin with this thread pool. Only one plugin is supported in the current implementation. @throws TooManyListenersException if a different MonitorPlugin had already been registered with this ThreadPool.
[ "Registers", "a", "MonitorPlugin", "with", "this", "thread", "pool", ".", "Only", "one", "plugin", "is", "supported", "in", "the", "current", "implementation", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java#L1463-L1477
67,071
OpenLiberty/open-liberty
dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java
ThreadPool.checkAllThreads
public void checkAllThreads() { // if nothing is plugged in, exit early if (this.monitorPlugin == null) { return; } long currentTime = 0; // lazily initialize current time try { for (Iterator i = this.threads_.values().iterator(); i.hasNext();) { ...
java
public void checkAllThreads() { // if nothing is plugged in, exit early if (this.monitorPlugin == null) { return; } long currentTime = 0; // lazily initialize current time try { for (Iterator i = this.threads_.values().iterator(); i.hasNext();) { ...
[ "public", "void", "checkAllThreads", "(", ")", "{", "// if nothing is plugged in, exit early", "if", "(", "this", ".", "monitorPlugin", "==", "null", ")", "{", "return", ";", "}", "long", "currentTime", "=", "0", ";", "// lazily initialize current time", "try", "{...
Checks all active threads in this thread pool to determine if they are hung. The definition of hung is provided by the MonitorPlugin. @see MonitorPlugin
[ "Checks", "all", "active", "threads", "in", "this", "thread", "pool", "to", "determine", "if", "they", "are", "hung", ".", "The", "definition", "of", "hung", "is", "provided", "by", "the", "MonitorPlugin", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.container.service.compat/src/com/ibm/ws/util/ThreadPool.java#L1486-L1524
67,072
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/FilterCellSlowStr.java
FilterCellSlowStr.findNextCell
public FilterCellSlowStr findNextCell(String nextValue) { if (nextCell == null) { return null; } return nextCell.get(nextValue); }
java
public FilterCellSlowStr findNextCell(String nextValue) { if (nextCell == null) { return null; } return nextCell.get(nextValue); }
[ "public", "FilterCellSlowStr", "findNextCell", "(", "String", "nextValue", ")", "{", "if", "(", "nextCell", "==", "null", ")", "{", "return", "null", ";", "}", "return", "nextCell", ".", "get", "(", "nextValue", ")", ";", "}" ]
Find the next cell, for a given string, which may come after this cell in the address tree. @param nextValue The next string the URL Address that is to be tested for inclusion in the address tree @return null if the nextValue does not have another cell connected to this cell in the tree. Otherwise return the next cell...
[ "Find", "the", "next", "cell", "for", "a", "given", "string", "which", "may", "come", "after", "this", "cell", "in", "the", "address", "tree", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/tcpchannel/internal/FilterCellSlowStr.java#L51-L56
67,073
OpenLiberty/open-liberty
dev/com.ibm.ws.webserver.plugin.utility/src/com/ibm/ws/webserver/plugin/utility/tasks/GeneratePluginTask.java
GeneratePluginTask.invokeGeneratePluginCfgMBean
protected boolean invokeGeneratePluginCfgMBean(ParseLoginAddress loginAddress, String clusterName, String targetPath, String option) { boolean success = false; try { success = connection.generatePluginConfig(loginAddress, clusterName, targetPath ,option); if (success) success = copyFileToTargetPath(...
java
protected boolean invokeGeneratePluginCfgMBean(ParseLoginAddress loginAddress, String clusterName, String targetPath, String option) { boolean success = false; try { success = connection.generatePluginConfig(loginAddress, clusterName, targetPath ,option); if (success) success = copyFileToTargetPath(...
[ "protected", "boolean", "invokeGeneratePluginCfgMBean", "(", "ParseLoginAddress", "loginAddress", ",", "String", "clusterName", ",", "String", "targetPath", ",", "String", "option", ")", "{", "boolean", "success", "=", "false", ";", "try", "{", "success", "=", "co...
Invokes MBean for generatePluginConfig to generate plugin configuration file @param controllerHost @param controllerPort @param user @param password @param targetPath @return
[ "Invokes", "MBean", "for", "generatePluginConfig", "to", "generate", "plugin", "configuration", "file" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webserver.plugin.utility/src/com/ibm/ws/webserver/plugin/utility/tasks/GeneratePluginTask.java#L198-L258
67,074
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceFactory.java
TraceFactory.getTraceFactory
public static TraceFactory getTraceFactory(NLS nls) { return (TraceFactory) Utils.getImpl("com.ibm.ws.objectManager.utils.TraceFactoryImpl", new Class[] { NLS.class }, new Object[] { nls }); }
java
public static TraceFactory getTraceFactory(NLS nls) { return (TraceFactory) Utils.getImpl("com.ibm.ws.objectManager.utils.TraceFactoryImpl", new Class[] { NLS.class }, new Object[] { nls }); }
[ "public", "static", "TraceFactory", "getTraceFactory", "(", "NLS", "nls", ")", "{", "return", "(", "TraceFactory", ")", "Utils", ".", "getImpl", "(", "\"com.ibm.ws.objectManager.utils.TraceFactoryImpl\"", ",", "new", "Class", "[", "]", "{", "NLS", ".", "class", ...
Create a platform specific TraceFactory instance. @param nls instance which holds the message catalogue to be used for info tracing. @return TraceFactory instance loaded.
[ "Create", "a", "platform", "specific", "TraceFactory", "instance", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceFactory.java#L39-L43
67,075
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceFactory.java
TraceFactory.setActiveTrace
public void setActiveTrace(String activeNames, int traceLevel) throws java.io.IOException { TraceFactory.activeNames = activeNames; TraceFactory.traceLevel = traceLevel;; }
java
public void setActiveTrace(String activeNames, int traceLevel) throws java.io.IOException { TraceFactory.activeNames = activeNames; TraceFactory.traceLevel = traceLevel;; }
[ "public", "void", "setActiveTrace", "(", "String", "activeNames", ",", "int", "traceLevel", ")", "throws", "java", ".", "io", ".", "IOException", "{", "TraceFactory", ".", "activeNames", "=", "activeNames", ";", "TraceFactory", ".", "traceLevel", "=", "traceLeve...
Specify what to trace and start tracing it. @param activeNames of classes to be activated separated by ":" "*" represents any name. @param traceLevel to be applied. @throws java.io.IOException
[ "Specify", "what", "to", "trace", "and", "start", "tracing", "it", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/utils/TraceFactory.java#L71-L76
67,076
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientJFapCommunicator.java
ClientJFapCommunicator.setSICoreConnection
protected void setSICoreConnection(SICoreConnection connection) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setSICoreConnection", connection); //Retrieve Client Conversation State if necessary validateConversationState(); cConState.setSICoreConne...
java
protected void setSICoreConnection(SICoreConnection connection) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setSICoreConnection", connection); //Retrieve Client Conversation State if necessary validateConversationState(); cConState.setSICoreConne...
[ "protected", "void", "setSICoreConnection", "(", "SICoreConnection", "connection", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isEntryEnabled", "(", ")", ")", "SibTr", ".", "entry", "(", "this", ",", "tc", "...
Sets the SICoreConnection reference on the server @param connection
[ "Sets", "the", "SICoreConnection", "reference", "on", "the", "server" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/ClientJFapCommunicator.java#L119-L128
67,077
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/util/ObjectCopier.java
ObjectCopier.copy
public Serializable copy(Serializable obj) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isDebugEnabled()) Tr.debug(tc, "copy : " + Util.identity(obj)); // ----------------------------------------------------------------------- // ...
java
public Serializable copy(Serializable obj) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isDebugEnabled()) Tr.debug(tc, "copy : " + Util.identity(obj)); // ----------------------------------------------------------------------- // ...
[ "public", "Serializable", "copy", "(", "Serializable", "obj", ")", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", ";", "if", "(", "isTraceOn", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "Tr", ".", ...
Make a copy of an object by writing it out to stream and reading it back again. This will make a "deep" copy of the object. This method is optimized to not copy immutable objects. @param obj the object to be copied, or null @return a copy of the object @throws RuntimeException if the object cannot be serialized
[ "Make", "a", "copy", "of", "an", "object", "by", "writing", "it", "out", "to", "stream", "and", "reading", "it", "back", "again", ".", "This", "will", "make", "a", "deep", "copy", "of", "the", "object", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/util/ObjectCopier.java#L52-L114
67,078
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/util/ObjectCopier.java
ObjectCopier.copy
public ScheduleExpression copy(ScheduleExpression schedule) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "copy ScheduleExpression: " + Util.identity(schedule)); // 'schedule' could be a subclass of ScheduleExpression, so only // use the base cl...
java
public ScheduleExpression copy(ScheduleExpression schedule) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "copy ScheduleExpression: " + Util.identity(schedule)); // 'schedule' could be a subclass of ScheduleExpression, so only // use the base cl...
[ "public", "ScheduleExpression", "copy", "(", "ScheduleExpression", "schedule", ")", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "Tr", ".", "debug", "(", "tc", ",", "\"copy ScheduleEx...
Make a copy of a ScheduleExpression object. @param schedule the object to be copied @return a copy of the object
[ "Make", "a", "copy", "of", "a", "ScheduleExpression", "object", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/util/ObjectCopier.java#L122-L135
67,079
OpenLiberty/open-liberty
dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/util/ObjectCopier.java
ObjectCopier.copyBase
public static ScheduleExpression copyBase(ScheduleExpression schedule) // d632906 { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "copy copyBase: " + Util.identity(schedule)); // 'schedule' could be a subclass of ScheduleExpression. // Use only th...
java
public static ScheduleExpression copyBase(ScheduleExpression schedule) // d632906 { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "copy copyBase: " + Util.identity(schedule)); // 'schedule' could be a subclass of ScheduleExpression. // Use only th...
[ "public", "static", "ScheduleExpression", "copyBase", "(", "ScheduleExpression", "schedule", ")", "// d632906", "{", "if", "(", "TraceComponent", ".", "isAnyTracingEnabled", "(", ")", "&&", "tc", ".", "isDebugEnabled", "(", ")", ")", "Tr", ".", "debug", "(", "...
Make a copy of a javax.ejb.ScheduleExpression portion of the object. We do not want to assume anything about how the methods are implemented in the ScheduleExpression, which can be extended by user code. This method is used in formatting a ScheduleExpression for the findEJBTimers command, so it must be in a common, ex...
[ "Make", "a", "copy", "of", "a", "javax", ".", "ejb", ".", "ScheduleExpression", "portion", "of", "the", "object", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/util/ObjectCopier.java#L148-L168
67,080
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSTuple.java
JSTuple.setMultiChoiceCount
BigInteger setMultiChoiceCount() { if (fields != null) for (int i = 0; i < fields.length; i++) multiChoiceCount = multiChoiceCount.multiply(fields[i].setMultiChoiceCount()); return multiChoiceCount; }
java
BigInteger setMultiChoiceCount() { if (fields != null) for (int i = 0; i < fields.length; i++) multiChoiceCount = multiChoiceCount.multiply(fields[i].setMultiChoiceCount()); return multiChoiceCount; }
[ "BigInteger", "setMultiChoiceCount", "(", ")", "{", "if", "(", "fields", "!=", "null", ")", "for", "(", "int", "i", "=", "0", ";", "i", "<", "fields", ".", "length", ";", "i", "++", ")", "multiChoiceCount", "=", "multiChoiceCount", ".", "multiply", "("...
Set the multiChoiceCount for this tuple
[ "Set", "the", "multiChoiceCount", "for", "this", "tuple" ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSTuple.java#L93-L98
67,081
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSTuple.java
JSTuple.getDominatedVariants
public JSVariant[] getDominatedVariants() { if (dominated == null) { List dom = new ArrayList(); getDominatedVariants(dom); dominated = (JSVariant[])dom.toArray(new JSVariant[0]); } return dominated; }
java
public JSVariant[] getDominatedVariants() { if (dominated == null) { List dom = new ArrayList(); getDominatedVariants(dom); dominated = (JSVariant[])dom.toArray(new JSVariant[0]); } return dominated; }
[ "public", "JSVariant", "[", "]", "getDominatedVariants", "(", ")", "{", "if", "(", "dominated", "==", "null", ")", "{", "List", "dom", "=", "new", "ArrayList", "(", ")", ";", "getDominatedVariants", "(", "dom", ")", ";", "dominated", "=", "(", "JSVariant...
Identify any variants that are descendents of this tuple, either directly, or via other tuples. Used in MessageMap construction.
[ "Identify", "any", "variants", "that", "are", "descendents", "of", "this", "tuple", "either", "directly", "or", "via", "other", "tuples", ".", "Used", "in", "MessageMap", "construction", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/jmf/impl/JSTuple.java#L104-L111
67,082
OpenLiberty/open-liberty
dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/ChainStartMode.java
ChainStartMode.getKey
public static ChainStartMode getKey(int ordinal) { if (ordinal >= 0 && ordinal < _values.length) { return _values[ordinal]; } return null; }
java
public static ChainStartMode getKey(int ordinal) { if (ordinal >= 0 && ordinal < _values.length) { return _values[ordinal]; } return null; }
[ "public", "static", "ChainStartMode", "getKey", "(", "int", "ordinal", ")", "{", "if", "(", "ordinal", ">=", "0", "&&", "ordinal", "<", "_values", ".", "length", ")", "{", "return", "_values", "[", "ordinal", "]", ";", "}", "return", "null", ";", "}" ]
Get the chain start mode definition for this ordinal. @param ordinal @return ChainStartMode, null if it does not match a defined instance
[ "Get", "the", "chain", "start", "mode", "definition", "for", "this", "ordinal", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/websphere/channelfw/ChainStartMode.java#L69-L74
67,083
OpenLiberty/open-liberty
dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ClientInjectionBinding.java
ClientInjectionBinding.getInjectionTarget
public static InjectionTarget getInjectionTarget(ComponentNameSpaceConfiguration compNSConfig, ClientInjection injection) throws InjectionException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "ge...
java
public static InjectionTarget getInjectionTarget(ComponentNameSpaceConfiguration compNSConfig, ClientInjection injection) throws InjectionException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "ge...
[ "public", "static", "InjectionTarget", "getInjectionTarget", "(", "ComponentNameSpaceConfiguration", "compNSConfig", ",", "ClientInjection", "injection", ")", "throws", "InjectionException", "{", "final", "boolean", "isTraceOn", "=", "TraceComponent", ".", "isAnyTracingEnable...
Acquires an InjectionTarget for the specified ClientInjection. @param compNSConfig the minimal namespace configuration @param injection the injection target descriptor @return the injection target @throws InjectionException if the target cannot be acquired
[ "Acquires", "an", "InjectionTarget", "for", "the", "specified", "ClientInjection", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.injection.core/src/com/ibm/ws/injectionengine/processor/ClientInjectionBinding.java#L49-L70
67,084
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/XARecoveryData.java
XARecoveryData.filterXidsByType
protected ArrayList filterXidsByType(Xid[] xidArray) { if (tc.isEntryEnabled()) Tr.entry(tc, "filterXidsByType", xidArray); final ArrayList<XidImpl> xidList = new ArrayList<XidImpl>(); if (xidArray != null) { /*----------------------------------------------------------*...
java
protected ArrayList filterXidsByType(Xid[] xidArray) { if (tc.isEntryEnabled()) Tr.entry(tc, "filterXidsByType", xidArray); final ArrayList<XidImpl> xidList = new ArrayList<XidImpl>(); if (xidArray != null) { /*----------------------------------------------------------*...
[ "protected", "ArrayList", "filterXidsByType", "(", "Xid", "[", "]", "xidArray", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"filterXidsByType\"", ",", "xidArray", ")", ";", "final", "ArrayList", ...
Removes all non-WAS Xids from an array of Xids, and puts them in an ArrayList structure. @param xidArray An array of generic Xids. @return An ArrayList of XidImpl objects.
[ "Removes", "all", "non", "-", "WAS", "Xids", "from", "an", "array", "of", "Xids", "and", "puts", "them", "in", "an", "ArrayList", "structure", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/XARecoveryData.java#L566-L625
67,085
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/XARecoveryData.java
XARecoveryData.filterXidsByCruuidAndEpoch
protected ArrayList filterXidsByCruuidAndEpoch(ArrayList xidList, byte[] cruuid, int epoch) { if (tc.isEntryEnabled()) Tr.entry(tc, "filterXidsByCruuidAndEpoch", new Object[] { ...
java
protected ArrayList filterXidsByCruuidAndEpoch(ArrayList xidList, byte[] cruuid, int epoch) { if (tc.isEntryEnabled()) Tr.entry(tc, "filterXidsByCruuidAndEpoch", new Object[] { ...
[ "protected", "ArrayList", "filterXidsByCruuidAndEpoch", "(", "ArrayList", "xidList", ",", "byte", "[", "]", "cruuid", ",", "int", "epoch", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"filterXidsByC...
Removes all Xids from an ArrayList that don't have our cruuid in their bqual. Assumes that all Xids are XidImpls. @param xidList A list of XidImpls. @param cruuid The cruuid to filter. @param epoch The epoch number to filter. @return An ArrayList of XidImpl objects.
[ "Removes", "all", "Xids", "from", "an", "ArrayList", "that", "don", "t", "have", "our", "cruuid", "in", "their", "bqual", ".", "Assumes", "that", "all", "Xids", "are", "XidImpls", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/XARecoveryData.java#L636-L672
67,086
OpenLiberty/open-liberty
dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/XARecoveryData.java
XARecoveryData.canWeForgetXid
protected boolean canWeForgetXid(XidImpl ourXid, Xid[] knownXids) { if (tc.isEntryEnabled()) Tr.entry(tc, "canWeForgetXid", new Object[] { ourXid, knownXids }); if (tc.isDebugEn...
java
protected boolean canWeForgetXid(XidImpl ourXid, Xid[] knownXids) { if (tc.isEntryEnabled()) Tr.entry(tc, "canWeForgetXid", new Object[] { ourXid, knownXids }); if (tc.isDebugEn...
[ "protected", "boolean", "canWeForgetXid", "(", "XidImpl", "ourXid", ",", "Xid", "[", "]", "knownXids", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"canWeForgetXid\"", ",", "new", "Object", "[", ...
Iterates over the list of known Xids retrieved from transaction service, and tries to match the given javax.transaction.xa.Xid with one of them. @param ourXid The javax.transaction.xa.Xid we are trying to match. @param knownXids The array of Xids that are possible matches. @return true if we find a match, false if not...
[ "Iterates", "over", "the", "list", "of", "known", "Xids", "retrieved", "from", "transaction", "service", "and", "tries", "to", "match", "the", "given", "javax", ".", "transaction", ".", "xa", ".", "Xid", "with", "one", "of", "them", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.tx.core/src/com/ibm/tx/jta/impl/XARecoveryData.java#L683-L766
67,087
OpenLiberty/open-liberty
dev/com.ibm.ws.org.apache.cxf.cxf.rt.transports.http.3.2/src/org/apache/cxf/transport/http/AbstractHTTPDestination.java
AbstractHTTPDestination.propogateSecureSession
private static void propogateSecureSession(HttpServletRequest request, Message message) { final String cipherSuite = (String) request.getAttribute(SSL_CIPHER_SUITE_ATTRIBUTE); if (cipherSuite != null) { final java.security.cert.Certi...
java
private static void propogateSecureSession(HttpServletRequest request, Message message) { final String cipherSuite = (String) request.getAttribute(SSL_CIPHER_SUITE_ATTRIBUTE); if (cipherSuite != null) { final java.security.cert.Certi...
[ "private", "static", "void", "propogateSecureSession", "(", "HttpServletRequest", "request", ",", "Message", "message", ")", "{", "final", "String", "cipherSuite", "=", "(", "String", ")", "request", ".", "getAttribute", "(", "SSL_CIPHER_SUITE_ATTRIBUTE", ")", ";", ...
Propogate in the message a TLSSessionInfo instance representative of the TLS-specific information in the HTTP request. @param request the Jetty request @param message the Message
[ "Propogate", "in", "the", "message", "a", "TLSSessionInfo", "instance", "representative", "of", "the", "TLS", "-", "specific", "information", "in", "the", "HTTP", "request", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.cxf.cxf.rt.transports.http.3.2/src/org/apache/cxf/transport/http/AbstractHTTPDestination.java#L438-L450
67,088
OpenLiberty/open-liberty
dev/com.ibm.ws.org.apache.cxf.cxf.rt.transports.http.3.2/src/org/apache/cxf/transport/http/AbstractHTTPDestination.java
AbstractHTTPDestination.cacheInput
private void cacheInput(Message outMessage) { if (outMessage.getExchange() == null) { return; } Message inMessage = outMessage.getExchange().getInMessage(); if (inMessage == null) { return; } Object o = inMessage.get("cxf.io.cacheinput"); D...
java
private void cacheInput(Message outMessage) { if (outMessage.getExchange() == null) { return; } Message inMessage = outMessage.getExchange().getInMessage(); if (inMessage == null) { return; } Object o = inMessage.get("cxf.io.cacheinput"); D...
[ "private", "void", "cacheInput", "(", "Message", "outMessage", ")", "{", "if", "(", "outMessage", ".", "getExchange", "(", ")", "==", "null", ")", "{", "return", ";", "}", "Message", "inMessage", "=", "outMessage", ".", "getExchange", "(", ")", ".", "get...
On first write, we need to make sure any attachments and such that are still on the incoming stream are read in. Otherwise we can get into a deadlock where the client is still trying to send the request, but the server is trying to send the response. Neither side is reading and both blocked on full buffers. Not a g...
[ "On", "first", "write", "we", "need", "to", "make", "sure", "any", "attachments", "and", "such", "that", "are", "still", "on", "the", "incoming", "stream", "are", "read", "in", ".", "Otherwise", "we", "can", "get", "into", "a", "deadlock", "where", "the"...
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.cxf.cxf.rt.transports.http.3.2/src/org/apache/cxf/transport/http/AbstractHTTPDestination.java#L593-L629
67,089
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/matchspace/utils/FFDC.java
FFDC.processException
public static void processException(Object source ,Class sourceClass ,String methodName ,Throwable throwable ,String probe ,Object[] ob...
java
public static void processException(Object source ,Class sourceClass ,String methodName ,Throwable throwable ,String probe ,Object[] ob...
[ "public", "static", "void", "processException", "(", "Object", "source", ",", "Class", "sourceClass", ",", "String", "methodName", ",", "Throwable", "throwable", ",", "String", "probe", ",", "Object", "[", "]", "objects", ")", "{", "if", "(", "TraceComponent",...
Process an exception for a non static class. @param Object the source class requesting the FFDC. @param Class of the source object. @param String the method where the FFDC is being requested from. @param Throwable the cause of the exception. @param String the probe identifying the source of the exception. @param Objec...
[ "Process", "an", "exception", "for", "a", "non", "static", "class", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/matchspace/utils/FFDC.java#L182-L221
67,090
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/matchspace/utils/FFDC.java
FFDC.print
static void print(Object object,java.io.PrintWriter printWriter) { if (object instanceof Printable) { ((Printable)object).print(printWriter); } else { printWriter.print(object); } // if (object instanceof Printable). }
java
static void print(Object object,java.io.PrintWriter printWriter) { if (object instanceof Printable) { ((Printable)object).print(printWriter); } else { printWriter.print(object); } // if (object instanceof Printable). }
[ "static", "void", "print", "(", "Object", "object", ",", "java", ".", "io", ".", "PrintWriter", "printWriter", ")", "{", "if", "(", "object", "instanceof", "Printable", ")", "{", "(", "(", "Printable", ")", "object", ")", ".", "print", "(", "printWriter"...
Dump an Object to a java.io.PrintWriter. @param Object to be dumped to printWriter @param java.io.PeritWriter to dump the Object to.
[ "Dump", "an", "Object", "to", "a", "java", ".", "io", ".", "PrintWriter", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/matchspace/utils/FFDC.java#L273-L280
67,091
OpenLiberty/open-liberty
dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/LogHandle.java
LogHandle.getServiceData
byte[] getServiceData() throws InternalLogException { if (tc.isEntryEnabled()) Tr.entry(tc, "getServiceData", this); // Check that the file is actually open if (_activeFile == null) { if (tc.isEntryEnabled()) Tr.exit(tc, "getServiceData", "Int...
java
byte[] getServiceData() throws InternalLogException { if (tc.isEntryEnabled()) Tr.entry(tc, "getServiceData", this); // Check that the file is actually open if (_activeFile == null) { if (tc.isEntryEnabled()) Tr.exit(tc, "getServiceData", "Int...
[ "byte", "[", "]", "getServiceData", "(", ")", "throws", "InternalLogException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"getServiceData\"", ",", "this", ")", ";", "// Check that the file is actually ope...
Package access method to return the current service data. @return The current service data. @exception InternalLogException An unexpected error has occured.
[ "Package", "access", "method", "to", "return", "the", "current", "service", "data", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/LogHandle.java#L845-L863
67,092
OpenLiberty/open-liberty
dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/LogHandle.java
LogHandle.logFileHeader
LogFileHeader logFileHeader() throws InternalLogException { if (tc.isEntryEnabled()) Tr.entry(tc, "logFileHeader", this); // Check that the file is actually open if (_activeFile == null) { if (tc.isEntryEnabled()) Tr.exit(tc, "logFileHeader", ...
java
LogFileHeader logFileHeader() throws InternalLogException { if (tc.isEntryEnabled()) Tr.entry(tc, "logFileHeader", this); // Check that the file is actually open if (_activeFile == null) { if (tc.isEntryEnabled()) Tr.exit(tc, "logFileHeader", ...
[ "LogFileHeader", "logFileHeader", "(", ")", "throws", "InternalLogException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"logFileHeader\"", ",", "this", ")", ";", "// Check that the file is actually open", "...
Returns the LogFileHeader for the currently active log file. @return The LogFileHeader for the currently active log file. @exception InternalLogException An unexpected error has occured.
[ "Returns", "the", "LogFileHeader", "for", "the", "currently", "active", "log", "file", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/LogHandle.java#L948-L966
67,093
OpenLiberty/open-liberty
dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/LogHandle.java
LogHandle.recoveredRecords
ArrayList<ReadableLogRecord> recoveredRecords() { if (tc.isDebugEnabled()) Tr.debug(tc, "recoveredRecords", _recoveredRecords); return _recoveredRecords; }
java
ArrayList<ReadableLogRecord> recoveredRecords() { if (tc.isDebugEnabled()) Tr.debug(tc, "recoveredRecords", _recoveredRecords); return _recoveredRecords; }
[ "ArrayList", "<", "ReadableLogRecord", ">", "recoveredRecords", "(", ")", "{", "if", "(", "tc", ".", "isDebugEnabled", "(", ")", ")", "Tr", ".", "debug", "(", "tc", ",", "\"recoveredRecords\"", ",", "_recoveredRecords", ")", ";", "return", "_recoveredRecords",...
Returns an array of ReadableLogRecords retrieved when the recovery log was opened. @return ArrayList An array of ReadableLogRecords.
[ "Returns", "an", "array", "of", "ReadableLogRecords", "retrieved", "when", "the", "recovery", "log", "was", "opened", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/LogHandle.java#L977-L982
67,094
OpenLiberty/open-liberty
dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/LogHandle.java
LogHandle.setServiceData
void setServiceData(byte[] serviceData) throws InternalLogException { if (tc.isEntryEnabled()) Tr.entry(tc, "setServiceData", new java.lang.Object[] { RLSUtils.toHexString(serviceData, RLSUtils.MAX_DISPLAY_BYTES), this }); // Check that the files are available if ((_file1 == nul...
java
void setServiceData(byte[] serviceData) throws InternalLogException { if (tc.isEntryEnabled()) Tr.entry(tc, "setServiceData", new java.lang.Object[] { RLSUtils.toHexString(serviceData, RLSUtils.MAX_DISPLAY_BYTES), this }); // Check that the files are available if ((_file1 == nul...
[ "void", "setServiceData", "(", "byte", "[", "]", "serviceData", ")", "throws", "InternalLogException", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"setServiceData\"", ",", "new", "java", ".", "lang", ...
Package access method to replace the existing service data with the new service data. @param serviceData The new service data or null for no service data. @exception InternalLogException An unexpected error has occured.
[ "Package", "access", "method", "to", "replace", "the", "existing", "service", "data", "with", "the", "new", "service", "data", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/LogHandle.java#L995-L1017
67,095
OpenLiberty/open-liberty
dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/LogHandle.java
LogHandle.writeLogRecord
protected void writeLogRecord(LogRecord logRecord) { if (tc.isEntryEnabled()) Tr.entry(tc, "writeLogRecord", logRecord); _activeFile.writeLogRecord(logRecord); if (tc.isEntryEnabled()) Tr.exit(tc, "writeLogRecord"); }
java
protected void writeLogRecord(LogRecord logRecord) { if (tc.isEntryEnabled()) Tr.entry(tc, "writeLogRecord", logRecord); _activeFile.writeLogRecord(logRecord); if (tc.isEntryEnabled()) Tr.exit(tc, "writeLogRecord"); }
[ "protected", "void", "writeLogRecord", "(", "LogRecord", "logRecord", ")", "{", "if", "(", "tc", ".", "isEntryEnabled", "(", ")", ")", "Tr", ".", "entry", "(", "tc", ",", "\"writeLogRecord\"", ",", "logRecord", ")", ";", "_activeFile", ".", "writeLogRecord",...
Do any necessary under the covers work to write the LogRecord.
[ "Do", "any", "necessary", "under", "the", "covers", "work", "to", "write", "the", "LogRecord", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/LogHandle.java#L1373-L1382
67,096
OpenLiberty/open-liberty
dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ArchiveUtils.java
ArchiveUtils.processArchiveManifest
public static Map<String, String> processArchiveManifest(final JarFile jarFile) throws Throwable { Map<String, String> manifestAttrs = null; if (jarFile != null) { try { manifestAttrs = AccessController.doPrivileged(new PrivilegedExceptionAction<Map<String, String>>() { ...
java
public static Map<String, String> processArchiveManifest(final JarFile jarFile) throws Throwable { Map<String, String> manifestAttrs = null; if (jarFile != null) { try { manifestAttrs = AccessController.doPrivileged(new PrivilegedExceptionAction<Map<String, String>>() { ...
[ "public", "static", "Map", "<", "String", ",", "String", ">", "processArchiveManifest", "(", "final", "JarFile", "jarFile", ")", "throws", "Throwable", "{", "Map", "<", "String", ",", "String", ">", "manifestAttrs", "=", "null", ";", "if", "(", "jarFile", ...
Gets the archive file Manifest attributes as a String Map from a jar file. @param jarFile the Jar File to be processes @return a Map of attributes and values compiled from the jar file's manifest file @throws Throwable
[ "Gets", "the", "archive", "file", "Manifest", "attributes", "as", "a", "String", "Map", "from", "a", "jar", "file", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ArchiveUtils.java#L105-L134
67,097
OpenLiberty/open-liberty
dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ArchiveUtils.java
ArchiveUtils.processArchiveManifest
public static Map<String, String> processArchiveManifest(final File file) throws Throwable { Map<String, String> manifestAttrs = null; if (file != null && file.isFile() && ArchiveFileType.JAR.isType(file.getPath())) { JarFile jarFile = null; try { jarFile = new J...
java
public static Map<String, String> processArchiveManifest(final File file) throws Throwable { Map<String, String> manifestAttrs = null; if (file != null && file.isFile() && ArchiveFileType.JAR.isType(file.getPath())) { JarFile jarFile = null; try { jarFile = new J...
[ "public", "static", "Map", "<", "String", ",", "String", ">", "processArchiveManifest", "(", "final", "File", "file", ")", "throws", "Throwable", "{", "Map", "<", "String", ",", "String", ">", "manifestAttrs", "=", "null", ";", "if", "(", "file", "!=", "...
Gets the archive file Manifest attributes as a String Map from a file. @param file the file to be processed @return a Map of attributes and values compiled from the file's manifest file @throws Throwable
[ "Gets", "the", "archive", "file", "Manifest", "attributes", "as", "a", "String", "Map", "from", "a", "file", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ArchiveUtils.java#L143-L159
67,098
OpenLiberty/open-liberty
dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ArchiveUtils.java
ArchiveUtils.getLicenseAgreement
public static String getLicenseAgreement(final JarFile jar, final Map<String, String> manifestAttrs) { String licenseAgreement = null; if (manifestAttrs.isEmpty()) { return licenseAgreement; } String licenseAgreementPrefix = manifestAttrs.get(ArchiveUtils.LICENSE_AGREEMENT)...
java
public static String getLicenseAgreement(final JarFile jar, final Map<String, String> manifestAttrs) { String licenseAgreement = null; if (manifestAttrs.isEmpty()) { return licenseAgreement; } String licenseAgreementPrefix = manifestAttrs.get(ArchiveUtils.LICENSE_AGREEMENT)...
[ "public", "static", "String", "getLicenseAgreement", "(", "final", "JarFile", "jar", ",", "final", "Map", "<", "String", ",", "String", ">", "manifestAttrs", ")", "{", "String", "licenseAgreement", "=", "null", ";", "if", "(", "manifestAttrs", ".", "isEmpty", ...
Gets the license agreement for the jar file. @param jar the jar file @param manifestAttrs the manifest file for the jar file @return the license agreement as a String
[ "Gets", "the", "license", "agreement", "for", "the", "jar", "file", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ArchiveUtils.java#L168-L183
67,099
OpenLiberty/open-liberty
dev/com.ibm.ws.kernel.service/src/com/ibm/wsspi/kernel/service/utils/ConcurrentServiceReferenceSetMap.java
ConcurrentServiceReferenceSetMap.deactivate
public void deactivate(ComponentContext context) { if (contextRef.get() == null) { // Components are only deactivated if they activate successfully, // and component instances are discarded after being deactivated. // This is either DS or programmer error. throw n...
java
public void deactivate(ComponentContext context) { if (contextRef.get() == null) { // Components are only deactivated if they activate successfully, // and component instances are discarded after being deactivated. // This is either DS or programmer error. throw n...
[ "public", "void", "deactivate", "(", "ComponentContext", "context", ")", "{", "if", "(", "contextRef", ".", "get", "(", ")", "==", "null", ")", "{", "// Components are only deactivated if they activate successfully,", "// and component instances are discarded after being deac...
Deactivates the map. Will trigger a release of all held services.
[ "Deactivates", "the", "map", ".", "Will", "trigger", "a", "release", "of", "all", "held", "services", "." ]
ca725d9903e63645018f9fa8cbda25f60af83a5d
https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.service/src/com/ibm/wsspi/kernel/service/utils/ConcurrentServiceReferenceSetMap.java#L91-L100