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,500 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsBytesMessageImpl.java | JmsBytesMessageImpl.getMsgReference | @Override
protected JsJmsMessage getMsgReference() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getMsgReference");
// If the body is read only, the contents should already be in the
// JS message, so only do the co... | java | @Override
protected JsJmsMessage getMsgReference() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getMsgReference");
// If the body is read only, the contents should already be in the
// JS message, so only do the co... | [
"@",
"Override",
"protected",
"JsJmsMessage",
"getMsgReference",
"(",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
... | override the getMsgReference method of the parent class.
We need to ensure that the message body is written into the JS message
before returning the reference to it. | [
"override",
"the",
"getMsgReference",
"method",
"of",
"the",
"parent",
"class",
".",
"We",
"need",
"to",
"ensure",
"that",
"the",
"message",
"body",
"is",
"written",
"into",
"the",
"JS",
"message",
"before",
"returning",
"the",
"reference",
"to",
"it",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsBytesMessageImpl.java#L2002-L2050 |
67,501 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsBytesMessageImpl.java | JmsBytesMessageImpl.recordInteger | private void recordInteger(int offset, int length) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "recordInteger", new Object[] { offset, length });
// If the current arrays are full, save them in the vector and allocate some new ones
if (in... | java | private void recordInteger(int offset, int length) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "recordInteger", new Object[] { offset, length });
// If the current arrays are full, save them in the vector and allocate some new ones
if (in... | [
"private",
"void",
"recordInteger",
"(",
"int",
"offset",
",",
"int",
"length",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
... | Records the presence of an integer-style item in the bytes message stream. This method is called by the writeXXX methods
to keep a track of where the integer items are, so they can be byteswapped if necessary at send time.
NB. The arrays and vector maintained by this method are read directly by the _exportBody() metho... | [
"Records",
"the",
"presence",
"of",
"an",
"integer",
"-",
"style",
"item",
"in",
"the",
"bytes",
"message",
"stream",
".",
"This",
"method",
"is",
"called",
"by",
"the",
"writeXXX",
"methods",
"to",
"keep",
"a",
"track",
"of",
"where",
"the",
"integer",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsBytesMessageImpl.java#L2226-L2247 |
67,502 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsBytesMessageImpl.java | JmsBytesMessageImpl.reverse | private void reverse(byte[] buffer, int offset, int length) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "reverse", new Object[] { buffer, offset, length });
byte temp;
for (int i = 0; i < length / 2; i++) {
temp = buffer[offse... | java | private void reverse(byte[] buffer, int offset, int length) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "reverse", new Object[] { buffer, offset, length });
byte temp;
for (int i = 0; i < length / 2; i++) {
temp = buffer[offse... | [
"private",
"void",
"reverse",
"(",
"byte",
"[",
"]",
"buffer",
",",
"int",
"offset",
",",
"int",
"length",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"ent... | This method reverses a sequence of bytes within a byte array. It is used for byte swapping numeric values
@param buffer byte[]
@param offset int offset of start of sequence
@param length int length of sequence in bytes | [
"This",
"method",
"reverses",
"a",
"sequence",
"of",
"bytes",
"within",
"a",
"byte",
"array",
".",
"It",
"is",
"used",
"for",
"byte",
"swapping",
"numeric",
"values"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsBytesMessageImpl.java#L2256-L2269 |
67,503 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsBytesMessageImpl.java | JmsBytesMessageImpl.checkProducerPromise | private void checkProducerPromise(String jmsMethod, String ffdcProbeID) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "checkProducerPromise", new Object[] { jmsMethod, ffdcProbeID });
// Only proceed if the producer hasn't promi... | java | private void checkProducerPromise(String jmsMethod, String ffdcProbeID) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "checkProducerPromise", new Object[] { jmsMethod, ffdcProbeID });
// Only proceed if the producer hasn't promi... | [
"private",
"void",
"checkProducerPromise",
"(",
"String",
"jmsMethod",
",",
"String",
"ffdcProbeID",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",... | Checks to see if the producer has promised not to modify the payload after it's been set.
If they have, then throw a JMS exception based on the parameters
@throws JMSException | [
"Checks",
"to",
"see",
"if",
"the",
"producer",
"has",
"promised",
"not",
"to",
"modify",
"the",
"payload",
"after",
"it",
"s",
"been",
"set",
".",
"If",
"they",
"have",
"then",
"throw",
"a",
"JMS",
"exception",
"based",
"on",
"the",
"parameters"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsBytesMessageImpl.java#L2277-L2295 |
67,504 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATAsynchReadAheadReader.java | CATAsynchReadAheadReader.stopConsumer | public void stopConsumer() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "stopConsumer");
try {
// lock the consumerSession to ensure visibility of update to started.
synchronized (consumerSession) {
consumerS... | java | public void stopConsumer() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "stopConsumer");
try {
// lock the consumerSession to ensure visibility of update to started.
synchronized (consumerSession) {
consumerS... | [
"public",
"void",
"stopConsumer",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"stopConsumer\"",
")",
";",
"try",... | Safely stop the consumer
@param Message to be traced for stop reason. | [
"Safely",
"stop",
"the",
"consumer"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.server/src/com/ibm/ws/sib/comms/server/clientsupport/CATAsynchReadAheadReader.java#L175-L195 |
67,505 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSConsumerClassifications.java | JSConsumerClassifications.setClassifications | public boolean setClassifications(Flow[] newFlows)
throws InvalidFlowsException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setClassifications", newFlows);
boolean noClassChange = true;
// Do we have the same set of flows but with different weightings... | java | public boolean setClassifications(Flow[] newFlows)
throws InvalidFlowsException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setClassifications", newFlows);
boolean noClassChange = true;
// Do we have the same set of flows but with different weightings... | [
"public",
"boolean",
"setClassifications",
"(",
"Flow",
"[",
"]",
"newFlows",
")",
"throws",
"InvalidFlowsException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry... | Supports the setting of a new set of classifications based on a set of
Flows provided by the caller.
The method is called by JSConsumerSet.setFlowProperites() under a Java 5 write lock that
ensures exclusive access when classifications are being set or changed. The specific lock
taken is JSConsumerSet.classificationWr... | [
"Supports",
"the",
"setting",
"of",
"a",
"new",
"set",
"of",
"classifications",
"based",
"on",
"a",
"set",
"of",
"Flows",
"provided",
"by",
"the",
"caller",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSConsumerClassifications.java#L81-L147 |
67,506 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSConsumerClassifications.java | JSConsumerClassifications.getNumberOfClasses | public int getNumberOfClasses()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getNumberOfClasses");
SibTr.exit(tc, "getNumberOfClasses", Integer.valueOf(numberOfClasses));
}
return numberOfClasses;
} | java | public int getNumberOfClasses()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getNumberOfClasses");
SibTr.exit(tc, "getNumberOfClasses", Integer.valueOf(numberOfClasses));
}
return numberOfClasses;
} | [
"public",
"int",
"getNumberOfClasses",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getNumberOfClasses\"",
")",
";",
"SibT... | Retrieve the number of classifications specified in the current set.
@return | [
"Retrieve",
"the",
"number",
"of",
"classifications",
"specified",
"in",
"the",
"current",
"set",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSConsumerClassifications.java#L154-L162 |
67,507 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSConsumerClassifications.java | JSConsumerClassifications.getPosition | public int getPosition(String classificationName)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getPosition", classificationName);
int classPos = 0;
// Get the position of the classification
ClassWeight cw = messageClasses.get(classificationName);
i... | java | public int getPosition(String classificationName)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getPosition", classificationName);
int classPos = 0;
// Get the position of the classification
ClassWeight cw = messageClasses.get(classificationName);
i... | [
"public",
"int",
"getPosition",
"(",
"String",
"classificationName",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getPosition\"",
",",... | Get the index of a named classification.
@param classificationName
@return | [
"Get",
"the",
"index",
"of",
"a",
"named",
"classification",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSConsumerClassifications.java#L170-L185 |
67,508 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSConsumerClassifications.java | JSConsumerClassifications.getWeight | public int getWeight(String classificationName)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getWeight", classificationName);
int weight = 0;
// Get the weight of the classification
ClassWeight cw = messageClasses.get(classificationName);
if(cw != ... | java | public int getWeight(String classificationName)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getWeight", classificationName);
int weight = 0;
// Get the weight of the classification
ClassWeight cw = messageClasses.get(classificationName);
if(cw != ... | [
"public",
"int",
"getWeight",
"(",
"String",
"classificationName",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getWeight\"",
",",
"... | Get the weight of a named classification.
@param classificationName
@return | [
"Get",
"the",
"weight",
"of",
"a",
"named",
"classification",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSConsumerClassifications.java#L193-L208 |
67,509 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSConsumerClassifications.java | JSConsumerClassifications.findClassIndex | public int findClassIndex(HashMap<Integer, Integer> weightMap)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "findClassIndex");
int classPos = 0;
int randWeight = 0;
// First of all determine total weight
int totalWeight = 0;
Iterator<Integer> it... | java | public int findClassIndex(HashMap<Integer, Integer> weightMap)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "findClassIndex");
int classPos = 0;
int randWeight = 0;
// First of all determine total weight
int totalWeight = 0;
Iterator<Integer> it... | [
"public",
"int",
"findClassIndex",
"(",
"HashMap",
"<",
"Integer",
",",
"Integer",
">",
"weightMap",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
... | Find a pseudo random classification index based on the weightings
table.
@param weightMap
@return | [
"Find",
"a",
"pseudo",
"random",
"classification",
"index",
"based",
"on",
"the",
"weightings",
"table",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSConsumerClassifications.java#L240-L295 |
67,510 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSConsumerClassifications.java | JSConsumerClassifications.getFlows | public Flow[] getFlows()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getFlows");
}
Flow[] clonedFlows = flows.clone();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.exit(tc, "getFlows", clonedFlows);
... | java | public Flow[] getFlows()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getFlows");
}
Flow[] clonedFlows = flows.clone();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.exit(tc, "getFlows", clonedFlows);
... | [
"public",
"Flow",
"[",
"]",
"getFlows",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getFlows\"",
")",
";",
"}",
"Fl... | Returns the array of flows defined in this classification specified by XD.
@return | [
"Returns",
"the",
"array",
"of",
"flows",
"defined",
"in",
"this",
"classification",
"specified",
"by",
"XD",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/JSConsumerClassifications.java#L318-L331 |
67,511 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java | ChainDataImpl.getPropertyBag | public Map<Object, Object> getPropertyBag() {
if (this.properties == null) {
this.properties = new HashMap<Object, Object>();
}
return this.properties;
} | java | public Map<Object, Object> getPropertyBag() {
if (this.properties == null) {
this.properties = new HashMap<Object, Object>();
}
return this.properties;
} | [
"public",
"Map",
"<",
"Object",
",",
"Object",
">",
"getPropertyBag",
"(",
")",
"{",
"if",
"(",
"this",
".",
"properties",
"==",
"null",
")",
"{",
"this",
".",
"properties",
"=",
"new",
"HashMap",
"<",
"Object",
",",
"Object",
">",
"(",
")",
";",
"... | Fetch the property bag associated with this Chain.
@return Map<Object,Object> | [
"Fetch",
"the",
"property",
"bag",
"associated",
"with",
"this",
"Chain",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java#L211-L216 |
67,512 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java | ChainDataImpl.getExternalChainData | public ChainDataImpl getExternalChainData() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(this, tc, "getExternalChainData");
}
// Create the list of the parents of the child data objects.
ChannelData[] parents = new ChannelData[this.channelData... | java | public ChainDataImpl getExternalChainData() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(this, tc, "getExternalChainData");
}
// Create the list of the parents of the child data objects.
ChannelData[] parents = new ChannelData[this.channelData... | [
"public",
"ChainDataImpl",
"getExternalChainData",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getExternalChainDa... | Create a cloned representation of this chain data which only includes
references to parent channel data objects. It hides the children and
their names.
@return cloned chain data including parent channel data objects | [
"Create",
"a",
"cloned",
"representation",
"of",
"this",
"chain",
"data",
"which",
"only",
"includes",
"references",
"to",
"parent",
"channel",
"data",
"objects",
".",
"It",
"hides",
"the",
"children",
"and",
"their",
"names",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java#L255-L279 |
67,513 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java | ChainDataImpl.addChainEventListener | public final void addChainEventListener(ChainEventListener listener) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "addChainEventListener: " + listener);
}
if (null != listener) {
this.chainEventListeners.add(listener);
}
... | java | public final void addChainEventListener(ChainEventListener listener) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "addChainEventListener: " + listener);
}
if (null != listener) {
this.chainEventListeners.add(listener);
}
... | [
"public",
"final",
"void",
"addChainEventListener",
"(",
"ChainEventListener",
"listener",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"this",
",... | Enables external entities to be notified of chain events described in
ChainEventListener interface.
@param listener | [
"Enables",
"external",
"entities",
"to",
"be",
"notified",
"of",
"chain",
"events",
"described",
"in",
"ChainEventListener",
"interface",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java#L291-L298 |
67,514 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java | ChainDataImpl.removeChainEventListener | public final void removeChainEventListener(ChainEventListener listener) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "removeChainEventListener: " + listener);
}
if (null != listener) {
if (!this.chainEventListeners.remove(listene... | java | public final void removeChainEventListener(ChainEventListener listener) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "removeChainEventListener: " + listener);
}
if (null != listener) {
if (!this.chainEventListeners.remove(listene... | [
"public",
"final",
"void",
"removeChainEventListener",
"(",
"ChainEventListener",
"listener",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"this",
... | Removes a listener from the list of those being informed of chain events
on this chain.
@param listener | [
"Removes",
"a",
"listener",
"from",
"the",
"list",
"of",
"those",
"being",
"informed",
"of",
"chain",
"events",
"on",
"this",
"chain",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java#L306-L317 |
67,515 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java | ChainDataImpl.removeAllChainEventListeners | public Set<ChainEventListener> removeAllChainEventListeners() {
Set<ChainEventListener> returnListeners = new HashSet<ChainEventListener>(this.chainEventListeners);
this.chainEventListeners.clear();
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc,... | java | public Set<ChainEventListener> removeAllChainEventListeners() {
Set<ChainEventListener> returnListeners = new HashSet<ChainEventListener>(this.chainEventListeners);
this.chainEventListeners.clear();
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc,... | [
"public",
"Set",
"<",
"ChainEventListener",
">",
"removeAllChainEventListeners",
"(",
")",
"{",
"Set",
"<",
"ChainEventListener",
">",
"returnListeners",
"=",
"new",
"HashSet",
"<",
"ChainEventListener",
">",
"(",
"this",
".",
"chainEventListeners",
")",
";",
"thi... | Remove the chain event listeners from this configuration and return them
in a new hash set. This method is called during the updateChain
in order to move the event listeners from the old config to the new one.
@return ArrayList<ChainEventListener> of chain event listeners | [
"Remove",
"the",
"chain",
"event",
"listeners",
"from",
"this",
"configuration",
"and",
"return",
"them",
"in",
"a",
"new",
"hash",
"set",
".",
"This",
"method",
"is",
"called",
"during",
"the",
"updateChain",
"in",
"order",
"to",
"move",
"the",
"event",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java#L326-L333 |
67,516 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java | ChainDataImpl.setChainEventListeners | public void setChainEventListeners(Set<ChainEventListener> newListeners) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "removeAllChainEventListeners", newListeners);
}
chainEventListeners.clear();
chainEventListeners.addAll(newListene... | java | public void setChainEventListeners(Set<ChainEventListener> newListeners) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(this, tc, "removeAllChainEventListeners", newListeners);
}
chainEventListeners.clear();
chainEventListeners.addAll(newListene... | [
"public",
"void",
"setChainEventListeners",
"(",
"Set",
"<",
"ChainEventListener",
">",
"newListeners",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(... | Set the list of chain event listeners for this chain configuration. This
method was originally created to pass along chain event listeners from one
chain config to another chain config during the updateChain method.
@param newListeners | [
"Set",
"the",
"list",
"of",
"chain",
"event",
"listeners",
"for",
"this",
"chain",
"configuration",
".",
"This",
"method",
"was",
"originally",
"created",
"to",
"pass",
"along",
"chain",
"event",
"listeners",
"from",
"one",
"chain",
"config",
"to",
"another",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java#L342-L348 |
67,517 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java | ChainDataImpl.chainInitialized | public final void chainInitialized() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(this, tc, "chainInitialized, chain: " + this.name);
}
// Clone the list in case one of the event listeners modifies
// the chain during this iteration.
f... | java | public final void chainInitialized() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(this, tc, "chainInitialized, chain: " + this.name);
}
// Clone the list in case one of the event listeners modifies
// the chain during this iteration.
f... | [
"public",
"final",
"void",
"chainInitialized",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"chainInitialized, ch... | This method is called when the chain has been initialized. It informs
each of the chain event listeners. | [
"This",
"method",
"is",
"called",
"when",
"the",
"chain",
"has",
"been",
"initialized",
".",
"It",
"informs",
"each",
"of",
"the",
"chain",
"event",
"listeners",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java#L362-L374 |
67,518 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java | ChainDataImpl.chainStartFailed | public final void chainStartFailed(int attemptsMade, int attemptsLeft) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(this, tc, "chainStartFailed, chain: " + this.name);
}
// Clone the list in case one of the event listeners modifies
// the chai... | java | public final void chainStartFailed(int attemptsMade, int attemptsLeft) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(this, tc, "chainStartFailed, chain: " + this.name);
}
// Clone the list in case one of the event listeners modifies
// the chai... | [
"public",
"final",
"void",
"chainStartFailed",
"(",
"int",
"attemptsMade",
",",
"int",
"attemptsLeft",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"entry",
"... | This method is called when the chain start fails. It informs
each of the chain event listeners.
@param attemptsMade
@param attemptsLeft | [
"This",
"method",
"is",
"called",
"when",
"the",
"chain",
"start",
"fails",
".",
"It",
"informs",
"each",
"of",
"the",
"chain",
"event",
"listeners",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java#L401-L418 |
67,519 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java | ChainDataImpl.getEndPoint | public CFEndPoint getEndPoint() throws ChannelFrameworkException {
if (null == this.endPoint) {
if (FlowType.INBOUND.equals(this.type)) {
this.endPoint = new CFEndPointImpl(this);
} else {
throw new ChannelFrameworkException(this.name + " is not inbound ch... | java | public CFEndPoint getEndPoint() throws ChannelFrameworkException {
if (null == this.endPoint) {
if (FlowType.INBOUND.equals(this.type)) {
this.endPoint = new CFEndPointImpl(this);
} else {
throw new ChannelFrameworkException(this.name + " is not inbound ch... | [
"public",
"CFEndPoint",
"getEndPoint",
"(",
")",
"throws",
"ChannelFrameworkException",
"{",
"if",
"(",
"null",
"==",
"this",
".",
"endPoint",
")",
"{",
"if",
"(",
"FlowType",
".",
"INBOUND",
".",
"equals",
"(",
"this",
".",
"type",
")",
")",
"{",
"this"... | Access the possible endpoint representation of this chain. This will
throw an exception if the chain is not inbound.
@return CFEndPoint
@throws ChannelFrameworkException | [
"Access",
"the",
"possible",
"endpoint",
"representation",
"of",
"this",
"chain",
".",
"This",
"will",
"throw",
"an",
"exception",
"if",
"the",
"chain",
"is",
"not",
"inbound",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/ChainDataImpl.java#L499-L508 |
67,520 | OpenLiberty/open-liberty | dev/com.ibm.ws.microprofile.config.1.1/src/com/ibm/ws/microprofile/config/archaius/composite/PollingDynamicConfig.java | PollingDynamicConfig.getRawProperty | @Trivial
protected String getRawProperty(String key) {
String rawValue = source.getValue(key);
if (rawValue != null) {
current.put(key, rawValue);
}
return rawValue;
} | java | @Trivial
protected String getRawProperty(String key) {
String rawValue = source.getValue(key);
if (rawValue != null) {
current.put(key, rawValue);
}
return rawValue;
} | [
"@",
"Trivial",
"protected",
"String",
"getRawProperty",
"(",
"String",
"key",
")",
"{",
"String",
"rawValue",
"=",
"source",
".",
"getValue",
"(",
"key",
")",
";",
"if",
"(",
"rawValue",
"!=",
"null",
")",
"{",
"current",
".",
"put",
"(",
"key",
",",
... | Return the raw, unconverted, String associated with a key.
@param key | [
"Return",
"the",
"raw",
"unconverted",
"String",
"associated",
"with",
"a",
"key",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.microprofile.config.1.1/src/com/ibm/ws/microprofile/config/archaius/composite/PollingDynamicConfig.java#L242-L249 |
67,521 | OpenLiberty/open-liberty | dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/view/facelets/TagHandler.java | TagHandler.getRequiredAttribute | protected final TagAttribute getRequiredAttribute(String localName) throws TagException
{
TagAttribute attr = this.getAttribute(localName);
if (attr == null)
{
throw new TagException(this.tag, "Attribute '" + localName + "' is required");
}
return attr;
... | java | protected final TagAttribute getRequiredAttribute(String localName) throws TagException
{
TagAttribute attr = this.getAttribute(localName);
if (attr == null)
{
throw new TagException(this.tag, "Attribute '" + localName + "' is required");
}
return attr;
... | [
"protected",
"final",
"TagAttribute",
"getRequiredAttribute",
"(",
"String",
"localName",
")",
"throws",
"TagException",
"{",
"TagAttribute",
"attr",
"=",
"this",
".",
"getAttribute",
"(",
"localName",
")",
";",
"if",
"(",
"attr",
"==",
"null",
")",
"{",
"thro... | Utility method for fetching a required TagAttribute
@param localName
name of the attribute
@return TagAttribute if found, otherwise error
@throws TagException
if the attribute was not found | [
"Utility",
"method",
"for",
"fetching",
"a",
"required",
"TagAttribute"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.javaee.jsf.2.2/src/javax/faces/view/facelets/TagHandler.java#L60-L69 |
67,522 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AbstractDestinationHandler.java | AbstractDestinationHandler.setInputHandler | public void setInputHandler(ProducerInputHandler inputHandler)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setInputHandler", inputHandler);
this.inputHandler = inputHandler;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "setInputHan... | java | public void setInputHandler(ProducerInputHandler inputHandler)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setInputHandler", inputHandler);
this.inputHandler = inputHandler;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "setInputHan... | [
"public",
"void",
"setInputHandler",
"(",
"ProducerInputHandler",
"inputHandler",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"setInputH... | Sets the inputHandler for this destination.
@param inputHandler | [
"Sets",
"the",
"inputHandler",
"for",
"this",
"destination",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AbstractDestinationHandler.java#L406-L411 |
67,523 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AbstractDestinationHandler.java | AbstractDestinationHandler.setBus | void setBus(String busName)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setBus", busName);
this.busName = busName;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "setBus");
} | java | void setBus(String busName)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setBus", busName);
this.busName = busName;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "setBus");
} | [
"void",
"setBus",
"(",
"String",
"busName",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"setBus\"",
",",
"busName",
")",
";",
"t... | Sets the bus name for this destination.
@param busName | [
"Sets",
"the",
"bus",
"name",
"for",
"this",
"destination",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AbstractDestinationHandler.java#L417-L422 |
67,524 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AbstractDestinationHandler.java | AbstractDestinationHandler.setForeignBusSendAllowed | public void setForeignBusSendAllowed(boolean sendAllowed)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "setForeignBusSendAllowed", Boolean.valueOf(sendAllowed));
}
// Set the flag on this handler
_sendAllowedOnTargetForeignBus = Boolean.valueOf(se... | java | public void setForeignBusSendAllowed(boolean sendAllowed)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "setForeignBusSendAllowed", Boolean.valueOf(sendAllowed));
}
// Set the flag on this handler
_sendAllowedOnTargetForeignBus = Boolean.valueOf(se... | [
"public",
"void",
"setForeignBusSendAllowed",
"(",
"boolean",
"sendAllowed",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"setFore... | Set the Foreign Bus Level sendAllowed flag
@param sendAllowed | [
"Set",
"the",
"Foreign",
"Bus",
"Level",
"sendAllowed",
"flag"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/AbstractDestinationHandler.java#L651-L680 |
67,525 | OpenLiberty/open-liberty | dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ManagedCompletableFuture.java | ManagedCompletableFuture.failedFuture | @Trivial
public static <U> CompletableFuture<U> failedFuture(Throwable x) {
throw new UnsupportedOperationException(Tr.formatMessage(tc, "CWWKC1156.not.supported", "ManagedExecutor.failedFuture"));
} | java | @Trivial
public static <U> CompletableFuture<U> failedFuture(Throwable x) {
throw new UnsupportedOperationException(Tr.formatMessage(tc, "CWWKC1156.not.supported", "ManagedExecutor.failedFuture"));
} | [
"@",
"Trivial",
"public",
"static",
"<",
"U",
">",
"CompletableFuture",
"<",
"U",
">",
"failedFuture",
"(",
"Throwable",
"x",
")",
"{",
"throw",
"new",
"UnsupportedOperationException",
"(",
"Tr",
".",
"formatMessage",
"(",
"tc",
",",
"\"CWWKC1156.not.supported\"... | Because CompletableFuture.failedFuture is static, this is not a true override.
It will be difficult for the user to invoke this method because they would need to get the class
of the CompletableFuture implementation and locate the static failedFuture method on that.
@throws UnsupportedOperationException directing the ... | [
"Because",
"CompletableFuture",
".",
"failedFuture",
"is",
"static",
"this",
"is",
"not",
"a",
"true",
"override",
".",
"It",
"will",
"be",
"difficult",
"for",
"the",
"user",
"to",
"invoke",
"this",
"method",
"because",
"they",
"would",
"need",
"to",
"get",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ManagedCompletableFuture.java#L354-L357 |
67,526 | OpenLiberty/open-liberty | dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ManagedCompletableFuture.java | ManagedCompletableFuture.failedStage | @Trivial
public static <U> CompletionStage<U> failedStage(Throwable x) {
throw new UnsupportedOperationException(Tr.formatMessage(tc, "CWWKC1156.not.supported", "ManagedExecutor.failedStage"));
} | java | @Trivial
public static <U> CompletionStage<U> failedStage(Throwable x) {
throw new UnsupportedOperationException(Tr.formatMessage(tc, "CWWKC1156.not.supported", "ManagedExecutor.failedStage"));
} | [
"@",
"Trivial",
"public",
"static",
"<",
"U",
">",
"CompletionStage",
"<",
"U",
">",
"failedStage",
"(",
"Throwable",
"x",
")",
"{",
"throw",
"new",
"UnsupportedOperationException",
"(",
"Tr",
".",
"formatMessage",
"(",
"tc",
",",
"\"CWWKC1156.not.supported\"",
... | Because CompletableFuture.failedStage is static, this is not a true override.
It will be difficult for the user to invoke this method because they would need to get the class
of the CompletableFuture implementation and locate the static failedStage method on that.
@throws UnsupportedOperationException directing the us... | [
"Because",
"CompletableFuture",
".",
"failedStage",
"is",
"static",
"this",
"is",
"not",
"a",
"true",
"override",
".",
"It",
"will",
"be",
"difficult",
"for",
"the",
"user",
"to",
"invoke",
"this",
"method",
"because",
"they",
"would",
"need",
"to",
"get",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ManagedCompletableFuture.java#L387-L390 |
67,527 | OpenLiberty/open-liberty | dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ManagedCompletableFuture.java | ManagedCompletableFuture.newIncompleteFuture | public static <T> CompletableFuture<T> newIncompleteFuture(Executor executor) {
if (JAVA8)
return new ManagedCompletableFuture<T>(new CompletableFuture<T>(), executor, null);
else
return new ManagedCompletableFuture<T>(executor, null);
} | java | public static <T> CompletableFuture<T> newIncompleteFuture(Executor executor) {
if (JAVA8)
return new ManagedCompletableFuture<T>(new CompletableFuture<T>(), executor, null);
else
return new ManagedCompletableFuture<T>(executor, null);
} | [
"public",
"static",
"<",
"T",
">",
"CompletableFuture",
"<",
"T",
">",
"newIncompleteFuture",
"(",
"Executor",
"executor",
")",
"{",
"if",
"(",
"JAVA8",
")",
"return",
"new",
"ManagedCompletableFuture",
"<",
"T",
">",
"(",
"new",
"CompletableFuture",
"<",
"T... | Construct a new incomplete CompletableFuture that is backed by the specified executor.
@param executor the default asynchronous execution facility for the new CompletableFuture.
@return incomplete completable future where the specified executor is the default asynchronous execution facility. | [
"Construct",
"a",
"new",
"incomplete",
"CompletableFuture",
"that",
"is",
"backed",
"by",
"the",
"specified",
"executor",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ManagedCompletableFuture.java#L424-L429 |
67,528 | OpenLiberty/open-liberty | dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ManagedCompletableFuture.java | ManagedCompletableFuture.runAsync | @Trivial
public static CompletableFuture<Void> runAsync(Runnable action) {
throw new UnsupportedOperationException(Tr.formatMessage(tc, "CWWKC1156.not.supported", "ManagedExecutor.runAsync"));
} | java | @Trivial
public static CompletableFuture<Void> runAsync(Runnable action) {
throw new UnsupportedOperationException(Tr.formatMessage(tc, "CWWKC1156.not.supported", "ManagedExecutor.runAsync"));
} | [
"@",
"Trivial",
"public",
"static",
"CompletableFuture",
"<",
"Void",
">",
"runAsync",
"(",
"Runnable",
"action",
")",
"{",
"throw",
"new",
"UnsupportedOperationException",
"(",
"Tr",
".",
"formatMessage",
"(",
"tc",
",",
"\"CWWKC1156.not.supported\"",
",",
"\"Man... | Because CompletableFuture.runAsync is static, this is not a true override.
It will be difficult for the user to invoke this method because they would need to get the class
of the CompletableFuture implementation and locate the static runAsync method on that.
@throws UnsupportedOperationException directing the user to ... | [
"Because",
"CompletableFuture",
".",
"runAsync",
"is",
"static",
"this",
"is",
"not",
"a",
"true",
"override",
".",
"It",
"will",
"be",
"difficult",
"for",
"the",
"user",
"to",
"invoke",
"this",
"method",
"because",
"they",
"would",
"need",
"to",
"get",
"t... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ManagedCompletableFuture.java#L438-L441 |
67,529 | OpenLiberty/open-liberty | dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ManagedCompletableFuture.java | ManagedCompletableFuture.supplyAsync | @Trivial
public static <U> CompletableFuture<U> supplyAsync(Supplier<U> action) {
throw new UnsupportedOperationException(Tr.formatMessage(tc, "CWWKC1156.not.supported", "ManagedExecutor.supplyAsync"));
} | java | @Trivial
public static <U> CompletableFuture<U> supplyAsync(Supplier<U> action) {
throw new UnsupportedOperationException(Tr.formatMessage(tc, "CWWKC1156.not.supported", "ManagedExecutor.supplyAsync"));
} | [
"@",
"Trivial",
"public",
"static",
"<",
"U",
">",
"CompletableFuture",
"<",
"U",
">",
"supplyAsync",
"(",
"Supplier",
"<",
"U",
">",
"action",
")",
"{",
"throw",
"new",
"UnsupportedOperationException",
"(",
"Tr",
".",
"formatMessage",
"(",
"tc",
",",
"\"C... | Because CompletableFuture.supplyAsync is static, this is not a true override.
It will be difficult for the user to invoke this method because they would need to get the class
of the CompletableFuture implementation and locate the static supplyAsync method on that.
@throws UnsupportedOperationException directing the us... | [
"Because",
"CompletableFuture",
".",
"supplyAsync",
"is",
"static",
"this",
"is",
"not",
"a",
"true",
"override",
".",
"It",
"will",
"be",
"difficult",
"for",
"the",
"user",
"to",
"invoke",
"this",
"method",
"because",
"they",
"would",
"need",
"to",
"get",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ManagedCompletableFuture.java#L490-L493 |
67,530 | OpenLiberty/open-liberty | dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ManagedCompletableFuture.java | ManagedCompletableFuture.captureThreadContext | private ThreadContextDescriptor captureThreadContext(Executor executor) {
WSManagedExecutorService managedExecutor = defaultExecutor instanceof WSManagedExecutorService //
? (WSManagedExecutorService) defaultExecutor //
: executor != defaultExecutor && executor in... | java | private ThreadContextDescriptor captureThreadContext(Executor executor) {
WSManagedExecutorService managedExecutor = defaultExecutor instanceof WSManagedExecutorService //
? (WSManagedExecutorService) defaultExecutor //
: executor != defaultExecutor && executor in... | [
"private",
"ThreadContextDescriptor",
"captureThreadContext",
"(",
"Executor",
"executor",
")",
"{",
"WSManagedExecutorService",
"managedExecutor",
"=",
"defaultExecutor",
"instanceof",
"WSManagedExecutorService",
"//",
"?",
"(",
"WSManagedExecutorService",
")",
"defaultExecuto... | Captures thread context, if possible, first based on the default asynchronous execution facility,
otherwise based on the specified executor. If neither of these executors are a managed executor,
then thread context is not captured.
@param executor executor argument that is supplied when creating a dependent stage.
@re... | [
"Captures",
"thread",
"context",
"if",
"possible",
"first",
"based",
"on",
"the",
"default",
"asynchronous",
"execution",
"facility",
"otherwise",
"based",
"on",
"the",
"specified",
"executor",
".",
"If",
"neither",
"of",
"these",
"executors",
"are",
"a",
"manag... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ManagedCompletableFuture.java#L698-L711 |
67,531 | OpenLiberty/open-liberty | dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ManagedCompletableFuture.java | ManagedCompletableFuture.supportsAsync | @Trivial
private final static FutureRefExecutor supportsAsync(Executor executor) {
if (executor instanceof ExecutorService)
return new FutureRefExecutor((ExecutorService) executor); // valid
if (executor instanceof UnusableExecutor)
throw new UnsupportedOperationException(); ... | java | @Trivial
private final static FutureRefExecutor supportsAsync(Executor executor) {
if (executor instanceof ExecutorService)
return new FutureRefExecutor((ExecutorService) executor); // valid
if (executor instanceof UnusableExecutor)
throw new UnsupportedOperationException(); ... | [
"@",
"Trivial",
"private",
"final",
"static",
"FutureRefExecutor",
"supportsAsync",
"(",
"Executor",
"executor",
")",
"{",
"if",
"(",
"executor",
"instanceof",
"ExecutorService",
")",
"return",
"new",
"FutureRefExecutor",
"(",
"(",
"ExecutorService",
")",
"executor"... | Convenience method to validate that an executor supports running asynchronously
and to wrap the executor, if an ExecutorService, with FutureRefExecutor.
This method is named supportsAsync to make failure stacks more meaningful to users.
@param executor executor instance supplied to *Async methods.
@return FutureRefExe... | [
"Convenience",
"method",
"to",
"validate",
"that",
"an",
"executor",
"supports",
"running",
"asynchronously",
"and",
"to",
"wrap",
"the",
"executor",
"if",
"an",
"ExecutorService",
"with",
"FutureRefExecutor",
".",
"This",
"method",
"is",
"named",
"supportsAsync",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent.mp.1.0/src/com/ibm/ws/concurrent/mp/ManagedCompletableFuture.java#L1365-L1372 |
67,532 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.audit.file/src/com/ibm/ws/security/audit/logutils/FileLogUtils.java | FileLogUtils.validateDirectory | static File validateDirectory(final File directory) {
File newDirectory = null;
try {
newDirectory = AccessController.doPrivileged(new java.security.PrivilegedExceptionAction<File>() {
@Override
public File run() throws Exception {
boolea... | java | static File validateDirectory(final File directory) {
File newDirectory = null;
try {
newDirectory = AccessController.doPrivileged(new java.security.PrivilegedExceptionAction<File>() {
@Override
public File run() throws Exception {
boolea... | [
"static",
"File",
"validateDirectory",
"(",
"final",
"File",
"directory",
")",
"{",
"File",
"newDirectory",
"=",
"null",
";",
"try",
"{",
"newDirectory",
"=",
"AccessController",
".",
"doPrivileged",
"(",
"new",
"java",
".",
"security",
".",
"PrivilegedException... | This method will create the directory if it does not exist,
ensuring the specified location is writable.
@param The new directory location
@return A valid/accessible/created directory or null | [
"This",
"method",
"will",
"create",
"the",
"directory",
"if",
"it",
"does",
"not",
"exist",
"ensuring",
"the",
"specified",
"location",
"is",
"writable",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.audit.file/src/com/ibm/ws/security/audit/logutils/FileLogUtils.java#L88-L113 |
67,533 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.audit.file/src/com/ibm/ws/security/audit/logutils/FileLogUtils.java | FileLogUtils.createNewFile | static File createNewFile(final FileLogSet fileLogSet) {
final File directory = fileLogSet.getDirectory();
final String fileName = fileLogSet.getFileName();
final String fileExtension = fileLogSet.getFileExtension();
File f = null;
try {
f = AccessController.doPrivil... | java | static File createNewFile(final FileLogSet fileLogSet) {
final File directory = fileLogSet.getDirectory();
final String fileName = fileLogSet.getFileName();
final String fileExtension = fileLogSet.getFileExtension();
File f = null;
try {
f = AccessController.doPrivil... | [
"static",
"File",
"createNewFile",
"(",
"final",
"FileLogSet",
"fileLogSet",
")",
"{",
"final",
"File",
"directory",
"=",
"fileLogSet",
".",
"getDirectory",
"(",
")",
";",
"final",
"String",
"fileName",
"=",
"fileLogSet",
".",
"getFileName",
"(",
")",
";",
"... | This method will create a new file with the specified name and extension in the specified directory. If a unique file is required then it will add a timestamp to the file
and if necessary a unqiue identifier to the file name.
@return The file or <code>null</code> if an error occurs
@see #getUniqueFile(File, String, St... | [
"This",
"method",
"will",
"create",
"a",
"new",
"file",
"with",
"the",
"specified",
"name",
"and",
"extension",
"in",
"the",
"specified",
"directory",
".",
"If",
"a",
"unique",
"file",
"is",
"required",
"then",
"it",
"will",
"add",
"a",
"timestamp",
"to",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.audit.file/src/com/ibm/ws/security/audit/logutils/FileLogUtils.java#L122-L141 |
67,534 | OpenLiberty/open-liberty | dev/com.ibm.ws.wsoc/src/com/ibm/ws/wsoc/MessageReader.java | MessageReader.releaseBuffers | public void releaseBuffers() {
// release buffers is desired
if (payloadBuffers != null) {
if (tc.isDebugEnabled()) {
Tr.debug(tc, "release payload buffers. number to release is: " + payloadCountOfBuffers);
}
// if the payload buffers have been set in... | java | public void releaseBuffers() {
// release buffers is desired
if (payloadBuffers != null) {
if (tc.isDebugEnabled()) {
Tr.debug(tc, "release payload buffers. number to release is: " + payloadCountOfBuffers);
}
// if the payload buffers have been set in... | [
"public",
"void",
"releaseBuffers",
"(",
")",
"{",
"// release buffers is desired",
"if",
"(",
"payloadBuffers",
"!=",
"null",
")",
"{",
"if",
"(",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"release payload buffer... | This is never called, except in an exception case. frame buffers should be cleaned up when reset is called on the FrameReadProcessor | [
"This",
"is",
"never",
"called",
"except",
"in",
"an",
"exception",
"case",
".",
"frame",
"buffers",
"should",
"be",
"cleaned",
"up",
"when",
"reset",
"is",
"called",
"on",
"the",
"FrameReadProcessor"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.wsoc/src/com/ibm/ws/wsoc/MessageReader.java#L275-L301 |
67,535 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/javaee/util/DDUtil.java | DDUtil.methodParamsMatch | public static boolean methodParamsMatch(List<String> typeNames, Class<?>[] types)
{
if (typeNames.size() != types.length)
{
return false;
}
for (int i = 0; i < types.length; i++)
{
String typeName = typeNames.get(i);
int typeNameEnd = type... | java | public static boolean methodParamsMatch(List<String> typeNames, Class<?>[] types)
{
if (typeNames.size() != types.length)
{
return false;
}
for (int i = 0; i < types.length; i++)
{
String typeName = typeNames.get(i);
int typeNameEnd = type... | [
"public",
"static",
"boolean",
"methodParamsMatch",
"(",
"List",
"<",
"String",
">",
"typeNames",
",",
"Class",
"<",
"?",
">",
"[",
"]",
"types",
")",
"{",
"if",
"(",
"typeNames",
".",
"size",
"(",
")",
"!=",
"types",
".",
"length",
")",
"{",
"return... | Checks if the specified method parameters object matches the specified
method parameter types.
@param parms the method parameters object
@param types the method parameter types
@return true if the object matches the types | [
"Checks",
"if",
"the",
"specified",
"method",
"parameters",
"object",
"matches",
"the",
"specified",
"method",
"parameter",
"types",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/javaee/util/DDUtil.java#L36-L66 |
67,536 | OpenLiberty/open-liberty | dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigExpressionEvaluator.java | ConfigExpressionEvaluator.evaluateExpression | String evaluateExpression(String expr) throws ConfigEvaluatorException {
ConfigExpressionScanner scanner = new ConfigExpressionScanner(expr);
// Expression = Arithmetic | FilterCall
// Arithmetic = Operand [( "+" | "-" | "*" | "/") Operand]*
// Operand = VarName | Long | Functi... | java | String evaluateExpression(String expr) throws ConfigEvaluatorException {
ConfigExpressionScanner scanner = new ConfigExpressionScanner(expr);
// Expression = Arithmetic | FilterCall
// Arithmetic = Operand [( "+" | "-" | "*" | "/") Operand]*
// Operand = VarName | Long | Functi... | [
"String",
"evaluateExpression",
"(",
"String",
"expr",
")",
"throws",
"ConfigEvaluatorException",
"{",
"ConfigExpressionScanner",
"scanner",
"=",
"new",
"ConfigExpressionScanner",
"(",
"expr",
")",
";",
"// Expression = Arithmetic | FilterCall",
"// Arithmetic = Operand [( ... | Evaluate a variable expression.
@param expr the expression string (for example, "x+0")
@param context
@return the result, or null if the evaluation fails because the string
cannot be parsed, a referenced property does not exist, or some
other detectable errors occurs
@throws ConfigEvaluatorException if getPropertyObje... | [
"Evaluate",
"a",
"variable",
"expression",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigExpressionEvaluator.java#L51-L89 |
67,537 | OpenLiberty/open-liberty | dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigExpressionEvaluator.java | ConfigExpressionEvaluator.evaluateCountExpression | private int evaluateCountExpression(Object value) {
if (value == null) {
return 0;
}
if (value.getClass().isArray()) {
return Array.getLength(value);
}
if (value instanceof Vector<?>) {
return ((Vector<?>) value).size();
}
retur... | java | private int evaluateCountExpression(Object value) {
if (value == null) {
return 0;
}
if (value.getClass().isArray()) {
return Array.getLength(value);
}
if (value instanceof Vector<?>) {
return ((Vector<?>) value).size();
}
retur... | [
"private",
"int",
"evaluateCountExpression",
"(",
"Object",
"value",
")",
"{",
"if",
"(",
"value",
"==",
"null",
")",
"{",
"return",
"0",
";",
"}",
"if",
"(",
"value",
".",
"getClass",
"(",
")",
".",
"isArray",
"(",
")",
")",
"{",
"return",
"Array",
... | Evaluates the count expression function. If the value is null, then 0 is
returned. If the value is an array, the length is returned. If the value
is a vector, the size is returned. Otherwise, 1 is returned.
@param value the value to evaluate
@return the count of the value | [
"Evaluates",
"the",
"count",
"expression",
"function",
".",
"If",
"the",
"value",
"is",
"null",
"then",
"0",
"is",
"returned",
".",
"If",
"the",
"value",
"is",
"an",
"array",
"the",
"length",
"is",
"returned",
".",
"If",
"the",
"value",
"is",
"a",
"vec... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/ConfigExpressionEvaluator.java#L189-L200 |
67,538 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/context/servlet/ServletExternalContextImpl.java | ServletExternalContextImpl.getRequestCookieMap | @Override
public Map<String, Object> getRequestCookieMap()
{
if (_requestCookieMap == null)
{
checkHttpServletRequest();
_requestCookieMap = new CookieMap(_httpServletRequest);
}
return _requestCookieMap;
} | java | @Override
public Map<String, Object> getRequestCookieMap()
{
if (_requestCookieMap == null)
{
checkHttpServletRequest();
_requestCookieMap = new CookieMap(_httpServletRequest);
}
return _requestCookieMap;
} | [
"@",
"Override",
"public",
"Map",
"<",
"String",
",",
"Object",
">",
"getRequestCookieMap",
"(",
")",
"{",
"if",
"(",
"_requestCookieMap",
"==",
"null",
")",
"{",
"checkHttpServletRequest",
"(",
")",
";",
"_requestCookieMap",
"=",
"new",
"CookieMap",
"(",
"_... | would be more elegant -= Simon Lessard =- | [
"would",
"be",
"more",
"elegant",
"-",
"=",
"Simon",
"Lessard",
"=",
"-"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/context/servlet/ServletExternalContextImpl.java#L298-L308 |
67,539 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java | LocalQPConsumerKey.getDefaultGetCursor | public LockingCursor getDefaultGetCursor()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getDefaultGetCursor");
LockingCursor cursor = consumerKeyFilter[0].getGetCursor();
if(keyGroup != null)
cursor = keyGroup.getDefaultGetCursor();
if (TraceC... | java | public LockingCursor getDefaultGetCursor()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getDefaultGetCursor");
LockingCursor cursor = consumerKeyFilter[0].getGetCursor();
if(keyGroup != null)
cursor = keyGroup.getDefaultGetCursor();
if (TraceC... | [
"public",
"LockingCursor",
"getDefaultGetCursor",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getDefaultGetCursor\"",
")",
";",
... | Return the getCursor for this consumer. This method is only called in the
case where messages are not classified by XD. | [
"Return",
"the",
"getCursor",
"for",
"this",
"consumer",
".",
"This",
"method",
"is",
"only",
"called",
"in",
"the",
"case",
"where",
"messages",
"are",
"not",
"classified",
"by",
"XD",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java#L372-L385 |
67,540 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java | LocalQPConsumerKey.chooseGetCursorIndex | private int chooseGetCursorIndex(int classification)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "chooseGetCursorIndex");
int classIndex = 0;
if(classifyingMessages)
classIndex = consumerSet.chooseGetCursorIndex(classification);
if (T... | java | private int chooseGetCursorIndex(int classification)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "chooseGetCursorIndex");
int classIndex = 0;
if(classifyingMessages)
classIndex = consumerSet.chooseGetCursorIndex(classification);
if (T... | [
"private",
"int",
"chooseGetCursorIndex",
"(",
"int",
"classification",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"chooseGetCursorInde... | Determine the index of the getCursor to use based on the classifications defined
for the ConsumerSet that a consumer belongs to. If SIB is not registered with
XD and no classification is being performed then the default index is returned
Delegates to the consumerSet if non-null, otherwise returns the
default zeroth in... | [
"Determine",
"the",
"index",
"of",
"the",
"getCursor",
"to",
"use",
"based",
"on",
"the",
"classifications",
"defined",
"for",
"the",
"ConsumerSet",
"that",
"a",
"consumer",
"belongs",
"to",
".",
"If",
"SIB",
"is",
"not",
"registered",
"with",
"XD",
"and",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java#L473-L487 |
67,541 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java | LocalQPConsumerKey.detach | public void detach() throws SIResourceException, SINotPossibleInCurrentConfigurationException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "detach");
// Make sure we are not ready
notReady();
// Remove us from any group we are a member of
if(keyGroup !... | java | public void detach() throws SIResourceException, SINotPossibleInCurrentConfigurationException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "detach");
// Make sure we are not ready
notReady();
// Remove us from any group we are a member of
if(keyGroup !... | [
"public",
"void",
"detach",
"(",
")",
"throws",
"SIResourceException",
",",
"SINotPossibleInCurrentConfigurationException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"ent... | Detach this consumer | [
"Detach",
"this",
"consumer"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java#L492-L534 |
67,542 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java | LocalQPConsumerKey.getConnectionUuid | public SIBUuid12 getConnectionUuid()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getConnectionUuid");
SibTr.exit(tc, "getConnectionUuid", connectionUuid);
}
return connectionUuid;
} | java | public SIBUuid12 getConnectionUuid()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(tc, "getConnectionUuid");
SibTr.exit(tc, "getConnectionUuid", connectionUuid);
}
return connectionUuid;
} | [
"public",
"SIBUuid12",
"getConnectionUuid",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getConnectionUuid\"",
")",
";",
"... | Return the consumer's connection Uuid | [
"Return",
"the",
"consumer",
"s",
"connection",
"Uuid"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java#L539-L547 |
67,543 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java | LocalQPConsumerKey.requiresRecovery | public boolean requiresRecovery(SIMPMessage msg)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "requiresRecovery", new Object[] { msg });
boolean recoverable;
Reliability msgReliability = msg.getReliability();
recoverable = msgReliability.compareTo(unrecove... | java | public boolean requiresRecovery(SIMPMessage msg)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "requiresRecovery", new Object[] { msg });
boolean recoverable;
Reliability msgReliability = msg.getReliability();
recoverable = msgReliability.compareTo(unrecove... | [
"public",
"boolean",
"requiresRecovery",
"(",
"SIMPMessage",
"msg",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"requiresRecovery\"",
... | Determine if this consumer will require this message to be recoverable
@param msg message to be delivered
@return true if recovery is required
@throws SIStoreException | [
"Determine",
"if",
"this",
"consumer",
"will",
"require",
"this",
"message",
"to",
"be",
"recoverable"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java#L568-L582 |
67,544 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java | LocalQPConsumerKey.markNotReady | public void markNotReady()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "markNotReady");
ready = false;
if(keyGroup != null)
keyGroup.markNotReady();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(tc, "markNotReady"... | java | public void markNotReady()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "markNotReady");
ready = false;
if(keyGroup != null)
keyGroup.markNotReady();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(tc, "markNotReady"... | [
"public",
"void",
"markNotReady",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"markNotReady\"",
")",
";",
"ready",
"=",
"fals... | Make this key not ready | [
"Make",
"this",
"key",
"not",
"ready"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java#L678-L690 |
67,545 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java | LocalQPConsumerKey.getParent | public JSConsumerKey getParent()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getParent");
JSConsumerKey key = this;
if(keyGroup != null)
key = keyGroup;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(tc, "getParen... | java | public JSConsumerKey getParent()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getParent");
JSConsumerKey key = this;
if(keyGroup != null)
key = keyGroup;
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(tc, "getParen... | [
"public",
"JSConsumerKey",
"getParent",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getParent\"",
")",
";",
"JSConsumerKey",
"... | Return this key's parent if it is a member of a keyGroup | [
"Return",
"this",
"key",
"s",
"parent",
"if",
"it",
"is",
"a",
"member",
"of",
"a",
"keyGroup"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java#L787-L800 |
67,546 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java | LocalQPConsumerKey.start | public void start()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "start");
if(!started)
{
started = true;
if(keyGroup != null)
keyGroup.startMember();
}
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.ex... | java | public void start()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "start");
if(!started)
{
started = true;
if(keyGroup != null)
keyGroup.startMember();
}
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.ex... | [
"public",
"void",
"start",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"start\"",
")",
";",
"if",
"(",
"!",
"started",
")... | The ConsumerKey doesn't actually care if the consumer is started but its
ConsumerKey does | [
"The",
"ConsumerKey",
"doesn",
"t",
"actually",
"care",
"if",
"the",
"consumer",
"is",
"started",
"but",
"its",
"ConsumerKey",
"does"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java#L806-L820 |
67,547 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java | LocalQPConsumerKey.stop | public void stop()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "stop");
if(started)
{
started = false;
if(keyGroup != null)
keyGroup.stopMember();
}
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(... | java | public void stop()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "stop");
if(started)
{
started = false;
if(keyGroup != null)
keyGroup.stopMember();
}
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(... | [
"public",
"void",
"stop",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"stop\"",
")",
";",
"if",
"(",
"started",
")",
"{",... | The ConsumerKey doesn't actually care if the consumer is stopped but its
ConsumerKey does | [
"The",
"ConsumerKey",
"doesn",
"t",
"actually",
"care",
"if",
"the",
"consumer",
"is",
"stopped",
"but",
"its",
"ConsumerKey",
"does"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java#L826-L840 |
67,548 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java | LocalQPConsumerKey.createNewFiltersAndCursors | private void createNewFiltersAndCursors(ItemStream itemStream)
throws SIResourceException, MessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createNewFiltersAndCursors", itemStream);
LockingCursor cursor = null;
// Instantiate a new... | java | private void createNewFiltersAndCursors(ItemStream itemStream)
throws SIResourceException, MessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createNewFiltersAndCursors", itemStream);
LockingCursor cursor = null;
// Instantiate a new... | [
"private",
"void",
"createNewFiltersAndCursors",
"(",
"ItemStream",
"itemStream",
")",
"throws",
"SIResourceException",
",",
"MessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
... | Create the filters and cursors for this Key. If XD has registered a
MessageController we'll need a cursor-filter pair for each classification.
@throws SIResourceException
@throws MessageStoreException | [
"Create",
"the",
"filters",
"and",
"cursors",
"for",
"this",
"Key",
".",
"If",
"XD",
"has",
"registered",
"a",
"MessageController",
"we",
"ll",
"need",
"a",
"cursor",
"-",
"filter",
"pair",
"for",
"each",
"classification",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/LocalQPConsumerKey.java#L972-L1014 |
67,549 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsFactoryFactoryImpl.java | JmsFactoryFactoryImpl.createConnectionFactory | @Override
public JmsConnectionFactory createConnectionFactory() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createConnectionFactory");
JmsConnectionFactory jmscf = null;
// get a jca managed connection factory, wh... | java | @Override
public JmsConnectionFactory createConnectionFactory() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createConnectionFactory");
JmsConnectionFactory jmscf = null;
// get a jca managed connection factory, wh... | [
"@",
"Override",
"public",
"JmsConnectionFactory",
"createConnectionFactory",
"(",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"("... | This method is called by the application to retrieve its first
ConnectionFactory object. | [
"This",
"method",
"is",
"called",
"by",
"the",
"application",
"to",
"retrieve",
"its",
"first",
"ConnectionFactory",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsFactoryFactoryImpl.java#L78-L132 |
67,550 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsFactoryFactoryImpl.java | JmsFactoryFactoryImpl.createQueueConnectionFactory | @Override
public JmsQueueConnectionFactory createQueueConnectionFactory() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createQueueConnectionFactory");
JmsQueueConnectionFactory jmsqcf = null;
// get a jca managed q... | java | @Override
public JmsQueueConnectionFactory createQueueConnectionFactory() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createQueueConnectionFactory");
JmsQueueConnectionFactory jmsqcf = null;
// get a jca managed q... | [
"@",
"Override",
"public",
"JmsQueueConnectionFactory",
"createQueueConnectionFactory",
"(",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"ent... | This method is called by the application to retrieve its first
QueueConnectionFactory object. | [
"This",
"method",
"is",
"called",
"by",
"the",
"application",
"to",
"retrieve",
"its",
"first",
"QueueConnectionFactory",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsFactoryFactoryImpl.java#L138-L176 |
67,551 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsFactoryFactoryImpl.java | JmsFactoryFactoryImpl.createTopicConnectionFactory | @Override
public JmsTopicConnectionFactory createTopicConnectionFactory() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createTopicConnectionFactory");
JmsTopicConnectionFactory jmstcf = null;
// get a jca managed t... | java | @Override
public JmsTopicConnectionFactory createTopicConnectionFactory() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createTopicConnectionFactory");
JmsTopicConnectionFactory jmstcf = null;
// get a jca managed t... | [
"@",
"Override",
"public",
"JmsTopicConnectionFactory",
"createTopicConnectionFactory",
"(",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"ent... | This method is called by the application to retrieve its first
TopicConnectionFactory object. | [
"This",
"method",
"is",
"called",
"by",
"the",
"application",
"to",
"retrieve",
"its",
"first",
"TopicConnectionFactory",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsFactoryFactoryImpl.java#L182-L220 |
67,552 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsFactoryFactoryImpl.java | JmsFactoryFactoryImpl.createQueue | @Override
public JmsQueue createQueue(String name) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createQueue", name);
JmsQueue queue = null;
// if name string is null, empty or just "queue://", throw exception
... | java | @Override
public JmsQueue createQueue(String name) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createQueue", name);
JmsQueue queue = null;
// if name string is null, empty or just "queue://", throw exception
... | [
"@",
"Override",
"public",
"JmsQueue",
"createQueue",
"(",
"String",
"name",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
... | This method is called by the application to create a jms administered
queue object. | [
"This",
"method",
"is",
"called",
"by",
"the",
"application",
"to",
"create",
"a",
"jms",
"administered",
"queue",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsFactoryFactoryImpl.java#L304-L336 |
67,553 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsFactoryFactoryImpl.java | JmsFactoryFactoryImpl.createTopic | @Override
public JmsTopic createTopic(String name) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createTopic", name);
JmsTopic topic = null;
// if name string is null throw exception
if (name == null) {
... | java | @Override
public JmsTopic createTopic(String name) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "createTopic", name);
JmsTopic topic = null;
// if name string is null throw exception
if (name == null) {
... | [
"@",
"Override",
"public",
"JmsTopic",
"createTopic",
"(",
"String",
"name",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
... | This method is called by the application to create a jms administered
topic object. | [
"This",
"method",
"is",
"called",
"by",
"the",
"application",
"to",
"create",
"a",
"jms",
"administered",
"topic",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsFactoryFactoryImpl.java#L342-L374 |
67,554 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/EqualityMatcher.java | EqualityMatcher.handlePut | void handlePut(
SimpleTest test,
Conjunction selector,
MatchTarget object,
InternTable subExpr)
throws MatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "handlePut",
new Object[] {test,selector,object,subExpr} );
Object value = test.getValue();
if... | java | void handlePut(
SimpleTest test,
Conjunction selector,
MatchTarget object,
InternTable subExpr)
throws MatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "handlePut",
new Object[] {test,selector,object,subExpr} );
Object value = test.getValue();
if... | [
"void",
"handlePut",
"(",
"SimpleTest",
"test",
",",
"Conjunction",
"selector",
",",
"MatchTarget",
"object",
",",
"InternTable",
"subExpr",
")",
"throws",
"MatchingException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"tc",
".",
"entry",
"... | Implement handlePut. | [
"Implement",
"handlePut",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/EqualityMatcher.java#L62-L77 |
67,555 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/EqualityMatcher.java | EqualityMatcher.handleEqualityPut | void handleEqualityPut(Object value, Conjunction selector,
MatchTarget object, InternTable subExpr) throws MatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "handleEqualityPut",
new Object[] {value,selector,object,subExpr} );
ContentMatcher next =
(ContentMatcher) ((... | java | void handleEqualityPut(Object value, Conjunction selector,
MatchTarget object, InternTable subExpr) throws MatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "handleEqualityPut",
new Object[] {value,selector,object,subExpr} );
ContentMatcher next =
(ContentMatcher) ((... | [
"void",
"handleEqualityPut",
"(",
"Object",
"value",
",",
"Conjunction",
"selector",
",",
"MatchTarget",
"object",
",",
"InternTable",
"subExpr",
")",
"throws",
"MatchingException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"tc",
".",
"entry"... | Perform the handlePut function when the test is an equality test
@param value the value of the SimpleTest's comparand, perhaps wrapped
(e.g. by NumericMatcher)
@param selector the Conjunction representing all or part of a selector
@param object the MatchTarget to install
@param subExpr the InternTable used to assign un... | [
"Perform",
"the",
"handlePut",
"function",
"when",
"the",
"test",
"is",
"an",
"equality",
"test"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/EqualityMatcher.java#L86-L103 |
67,556 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/EqualityMatcher.java | EqualityMatcher.handleEqualityRemove | void handleEqualityRemove(Object value, Conjunction selector,
MatchTarget object, InternTable subExpr, OrdinalPosition parentId) throws MatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "handleEqualityRemove",
new Object[] {value,selector,object,subExpr} );
ContentMatcher ne... | java | void handleEqualityRemove(Object value, Conjunction selector,
MatchTarget object, InternTable subExpr, OrdinalPosition parentId) throws MatchingException {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "handleEqualityRemove",
new Object[] {value,selector,object,subExpr} );
ContentMatcher ne... | [
"void",
"handleEqualityRemove",
"(",
"Object",
"value",
",",
"Conjunction",
"selector",
",",
"MatchTarget",
"object",
",",
"InternTable",
"subExpr",
",",
"OrdinalPosition",
"parentId",
")",
"throws",
"MatchingException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
... | Perform the handleRemove function when the test is an equality test
@param value the value of the SimpleTest's comparand, perhaps wrapped
(e.g. by NumericMatcher)
@param selector the Conjunction representing all or part of a selector
@param object the MatchTarget to remove
@param subExpr the InternTable used to assign ... | [
"Perform",
"the",
"handleRemove",
"function",
"when",
"the",
"test",
"is",
"an",
"equality",
"test"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/EqualityMatcher.java#L171-L185 |
67,557 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/EqualityMatcher.java | EqualityMatcher.isEmpty | boolean isEmpty() {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "isEmpty");
boolean ans = super.isEmpty() && !haveEqualityMatches();
if (tc.isEntryEnabled())
tc.exit(this,cclass, "isEmpty", new Boolean(ans));
return ans;
} | java | boolean isEmpty() {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "isEmpty");
boolean ans = super.isEmpty() && !haveEqualityMatches();
if (tc.isEntryEnabled())
tc.exit(this,cclass, "isEmpty", new Boolean(ans));
return ans;
} | [
"boolean",
"isEmpty",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"tc",
".",
"entry",
"(",
"this",
",",
"cclass",
",",
"\"isEmpty\"",
")",
";",
"boolean",
"ans",
"=",
"super",
".",
"isEmpty",
"(",
")",
"&&",
"!",
"haveEqua... | Override isEmpty to check whether children is empty | [
"Override",
"isEmpty",
"to",
"check",
"whether",
"children",
"is",
"empty"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/EqualityMatcher.java#L188-L195 |
67,558 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/EqualityMatcher.java | EqualityMatcher.nextMatcher | ContentMatcher nextMatcher(Conjunction selector, ContentMatcher oldMatcher) {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "nextMatcher", "selector: "+selector+", oldMatcher: "+oldMatcher);
ContentMatcher ans;
if (!cacheing)
ans = super.nextMatcher(selector, oldMatcher);
else if (oldMatche... | java | ContentMatcher nextMatcher(Conjunction selector, ContentMatcher oldMatcher) {
if (tc.isEntryEnabled())
tc.entry(this,cclass, "nextMatcher", "selector: "+selector+", oldMatcher: "+oldMatcher);
ContentMatcher ans;
if (!cacheing)
ans = super.nextMatcher(selector, oldMatcher);
else if (oldMatche... | [
"ContentMatcher",
"nextMatcher",
"(",
"Conjunction",
"selector",
",",
"ContentMatcher",
"oldMatcher",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"tc",
".",
"entry",
"(",
"this",
",",
"cclass",
",",
"\"nextMatcher\"",
",",
"\"selector: \""... | Override nextMatcher to handle possibility of cacheing | [
"Override",
"nextMatcher",
"to",
"handle",
"possibility",
"of",
"cacheing"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/impl/EqualityMatcher.java#L210-L223 |
67,559 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ExceptionDestinationHandlerImpl.java | ExceptionDestinationHandlerImpl.setDestination | public void setDestination(DestinationHandler originalDestination)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setDestination", originalDestination);
_originalDestination = originalDestination;
if (TraceComponent.isAnyTracingEnabled() && ... | java | public void setDestination(DestinationHandler originalDestination)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setDestination", originalDestination);
_originalDestination = originalDestination;
if (TraceComponent.isAnyTracingEnabled() && ... | [
"public",
"void",
"setDestination",
"(",
"DestinationHandler",
"originalDestination",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"setDe... | Sets the destination that could not be delivered to.
@param destination The destination to set | [
"Sets",
"the",
"destination",
"that",
"could",
"not",
"be",
"delivered",
"to",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ExceptionDestinationHandlerImpl.java#L233-L242 |
67,560 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ExceptionDestinationHandlerImpl.java | ExceptionDestinationHandlerImpl.setDestination | @Override
public void setDestination(SIDestinationAddress destinationAddr)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setDestination", destinationAddr);
if (destinationAddr != null)
{
try
{
_ori... | java | @Override
public void setDestination(SIDestinationAddress destinationAddr)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "setDestination", destinationAddr);
if (destinationAddr != null)
{
try
{
_ori... | [
"@",
"Override",
"public",
"void",
"setDestination",
"(",
"SIDestinationAddress",
"destinationAddr",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc"... | Sets the destination that could not be delivered to. Looks up the destination
given its name.
@param destinationName - The destination to set | [
"Sets",
"the",
"destination",
"that",
"could",
"not",
"be",
"delivered",
"to",
".",
"Looks",
"up",
"the",
"destination",
"given",
"its",
"name",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ExceptionDestinationHandlerImpl.java#L251-L279 |
67,561 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ExceptionDestinationHandlerImpl.java | ExceptionDestinationHandlerImpl.checkCanExceptionMessage | public int checkCanExceptionMessage()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "checkCanExceptionMessage");
// Return code
int rc = DestinationHandler.OUTPUT_HANDLER_NOT_FOUND;
String newExceptionDestination = null;
boo... | java | public int checkCanExceptionMessage()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "checkCanExceptionMessage");
// Return code
int rc = DestinationHandler.OUTPUT_HANDLER_NOT_FOUND;
String newExceptionDestination = null;
boo... | [
"public",
"int",
"checkCanExceptionMessage",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"checkCanExceptionMessage\"",
")",
";",
... | Check whether it will be possible to place a message on the exception destination.
@return rc reason code | [
"Check",
"whether",
"it",
"will",
"be",
"possible",
"to",
"place",
"a",
"message",
"on",
"the",
"exception",
"destination",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ExceptionDestinationHandlerImpl.java#L286-L356 |
67,562 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ExceptionDestinationHandlerImpl.java | ExceptionDestinationHandlerImpl.handleUndeliverableMessage | @Override
public UndeliverableReturnCode handleUndeliverableMessage(
SIBusMessage msg,
String alternateUser,
TransactionCommon tra... | java | @Override
public UndeliverableReturnCode handleUndeliverableMessage(
SIBusMessage msg,
String alternateUser,
TransactionCommon tra... | [
"@",
"Override",
"public",
"UndeliverableReturnCode",
"handleUndeliverableMessage",
"(",
"SIBusMessage",
"msg",
",",
"String",
"alternateUser",
",",
"TransactionCommon",
"tran",
",",
"int",
"exceptionReason",
",",
"String",
"[",
"]",
"exceptionStrings",
")",
"{",
"// ... | Wrapper method for handleUndeliverableMessage. This version will be called
from an external component via the
com.ibm.ws.sib.processor.ExceptionDestinationHandler interface. E.g. we
need to access this routine from the MQLink in the comms component.
@param msg - The undeliverable message
@param tran - The transaction ... | [
"Wrapper",
"method",
"for",
"handleUndeliverableMessage",
".",
"This",
"version",
"will",
"be",
"called",
"from",
"an",
"external",
"component",
"via",
"the",
"com",
".",
"ibm",
".",
"ws",
".",
"sib",
".",
"processor",
".",
"ExceptionDestinationHandler",
"interf... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ExceptionDestinationHandlerImpl.java#L428-L440 |
67,563 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ExceptionDestinationHandlerImpl.java | ExceptionDestinationHandlerImpl.checkMessage | private UndeliverableReturnCode checkMessage(SIMPMessage message)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "checkMessage", message);
UndeliverableReturnCode rc = UndeliverableReturnCode.OK;
// F001333:E3
// If the message's rel... | java | private UndeliverableReturnCode checkMessage(SIMPMessage message)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "checkMessage", message);
UndeliverableReturnCode rc = UndeliverableReturnCode.OK;
// F001333:E3
// If the message's rel... | [
"private",
"UndeliverableReturnCode",
"checkMessage",
"(",
"SIMPMessage",
"message",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"checkM... | Checks that a message is valid for delivery to an exception
destination
@param message
@return | [
"Checks",
"that",
"a",
"message",
"is",
"valid",
"for",
"delivery",
"to",
"an",
"exception",
"destination"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ExceptionDestinationHandlerImpl.java#L1763-L1817 |
67,564 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ExceptionDestinationHandlerImpl.java | ExceptionDestinationHandlerImpl.checkExceptionDestinationAccess | private AccessResult checkExceptionDestinationAccess(JsMessage msg,
ConnectionImpl conn,
String alternateUser,
boolean defaultInUse)
{
if... | java | private AccessResult checkExceptionDestinationAccess(JsMessage msg,
ConnectionImpl conn,
String alternateUser,
boolean defaultInUse)
{
if... | [
"private",
"AccessResult",
"checkExceptionDestinationAccess",
"(",
"JsMessage",
"msg",
",",
"ConnectionImpl",
"conn",
",",
"String",
"alternateUser",
",",
"boolean",
"defaultInUse",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"... | Checks authority to access exception destination.
@param message
@return | [
"Checks",
"authority",
"to",
"access",
"exception",
"destination",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ExceptionDestinationHandlerImpl.java#L1825-L1974 |
67,565 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ExceptionDestinationHandlerImpl.java | ExceptionDestinationHandlerImpl.handleAccessDenied | private void handleAccessDenied(AccessResult result,
JsMessage msg,
String alternateUser)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "handleAccessDenied", new Object[] { result,
... | java | private void handleAccessDenied(AccessResult result,
JsMessage msg,
String alternateUser)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "handleAccessDenied", new Object[] { result,
... | [
"private",
"void",
"handleAccessDenied",
"(",
"AccessResult",
"result",
",",
"JsMessage",
"msg",
",",
"String",
"alternateUser",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Sib... | Fire an event if eventing is enabled and write an audit record.
@param result
@param msg
@param alternateUser | [
"Fire",
"an",
"event",
"if",
"eventing",
"is",
"enabled",
"and",
"write",
"an",
"audit",
"record",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ExceptionDestinationHandlerImpl.java#L1983-L2036 |
67,566 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ExceptionDestinationHandlerImpl.java | ExceptionDestinationHandlerImpl.fireMessageExceptionedEvent | private void fireMessageExceptionedEvent(String apiMsgId,
SIMPMessage message,
int exceptionReason)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc,
... | java | private void fireMessageExceptionedEvent(String apiMsgId,
SIMPMessage message,
int exceptionReason)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc,
... | [
"private",
"void",
"fireMessageExceptionedEvent",
"(",
"String",
"apiMsgId",
",",
"SIMPMessage",
"message",
",",
"int",
"exceptionReason",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
"... | Fire an event notification of type TYPE_SIB_MESSAGE_EXCEPTIONED
@param newState | [
"Fire",
"an",
"event",
"notification",
"of",
"type",
"TYPE_SIB_MESSAGE_EXCEPTIONED"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/ExceptionDestinationHandlerImpl.java#L2093-L2168 |
67,567 | OpenLiberty/open-liberty | dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebGroup.java | WebGroup.decodeUri | public static String decodeUri(String url)
{
int index1 = url.indexOf(sessUrlRewritePrefix);
int index2 = url.indexOf(qMark);
String tmp = null;
if (index2 != -1 && index2 > index1)
{
tmp = url.substring(index2);
}
if (index1 != -1)
{
url = url.substring(0, index1);
if (tmp != null)
{
... | java | public static String decodeUri(String url)
{
int index1 = url.indexOf(sessUrlRewritePrefix);
int index2 = url.indexOf(qMark);
String tmp = null;
if (index2 != -1 && index2 > index1)
{
tmp = url.substring(index2);
}
if (index1 != -1)
{
url = url.substring(0, index1);
if (tmp != null)
{
... | [
"public",
"static",
"String",
"decodeUri",
"(",
"String",
"url",
")",
"{",
"int",
"index1",
"=",
"url",
".",
"indexOf",
"(",
"sessUrlRewritePrefix",
")",
";",
"int",
"index2",
"=",
"url",
".",
"indexOf",
"(",
"qMark",
")",
";",
"String",
"tmp",
"=",
"n... | Strips out the sessionId only form the URI
@param url
@return | [
"Strips",
"out",
"the",
"sessionId",
"only",
"form",
"the",
"URI"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/webapp/WebGroup.java#L395-L414 |
67,568 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/FaceletFactory.java | FaceletFactory.setInstance | public static final void setInstance(FaceletFactory factory)
{
if (factory == null)
{
instance.remove();
}
else
{
instance.set(factory);
}
} | java | public static final void setInstance(FaceletFactory factory)
{
if (factory == null)
{
instance.remove();
}
else
{
instance.set(factory);
}
} | [
"public",
"static",
"final",
"void",
"setInstance",
"(",
"FaceletFactory",
"factory",
")",
"{",
"if",
"(",
"factory",
"==",
"null",
")",
"{",
"instance",
".",
"remove",
"(",
")",
";",
"}",
"else",
"{",
"instance",
".",
"set",
"(",
"factory",
")",
";",
... | Set the static instance
@param factory | [
"Set",
"the",
"static",
"instance"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/FaceletFactory.java#L165-L175 |
67,569 | OpenLiberty/open-liberty | dev/com.ibm.ws.session/src/com/ibm/ws/session/SessionManager.java | SessionManager.getSession | protected Object getSession(String id, int version, boolean isSessionAccess, boolean forceSessionRetrieval, Object xdCorrelator) {
if (isSessionAccess) {
if (version == -1) {
_store.refreshSession(id, xdCorrelator);
} else {
_store.refreshSession(id, versi... | java | protected Object getSession(String id, int version, boolean isSessionAccess, boolean forceSessionRetrieval, Object xdCorrelator) {
if (isSessionAccess) {
if (version == -1) {
_store.refreshSession(id, xdCorrelator);
} else {
_store.refreshSession(id, versi... | [
"protected",
"Object",
"getSession",
"(",
"String",
"id",
",",
"int",
"version",
",",
"boolean",
"isSessionAccess",
",",
"boolean",
"forceSessionRetrieval",
",",
"Object",
"xdCorrelator",
")",
"{",
"if",
"(",
"isSessionAccess",
")",
"{",
"if",
"(",
"version",
... | forceSessionRetrieval can only be true when using applicationSessions | [
"forceSessionRetrieval",
"can",
"only",
"be",
"true",
"when",
"using",
"applicationSessions"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session/src/com/ibm/ws/session/SessionManager.java#L438-L464 |
67,570 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.jaas.common/src/com/ibm/ws/security/jaas/common/callback/AuthenticationHelper.java | AuthenticationHelper.copyCredToken | public static byte[] copyCredToken(byte[] credToken) {
if (credToken == null) {
return null;
}
final int LEN = credToken.length;
if (LEN == 0) {
return new byte[LEN];
}
byte[] newCredToken = new byte[LEN];
System.arraycopy(credToken, 0, ... | java | public static byte[] copyCredToken(byte[] credToken) {
if (credToken == null) {
return null;
}
final int LEN = credToken.length;
if (LEN == 0) {
return new byte[LEN];
}
byte[] newCredToken = new byte[LEN];
System.arraycopy(credToken, 0, ... | [
"public",
"static",
"byte",
"[",
"]",
"copyCredToken",
"(",
"byte",
"[",
"]",
"credToken",
")",
"{",
"if",
"(",
"credToken",
"==",
"null",
")",
"{",
"return",
"null",
";",
"}",
"final",
"int",
"LEN",
"=",
"credToken",
".",
"length",
";",
"if",
"(",
... | Create a copy of the specified byte array.
@param credToken
@return A copy of the specified byte array, or null if the input was null. | [
"Create",
"a",
"copy",
"of",
"the",
"specified",
"byte",
"array",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.jaas.common/src/com/ibm/ws/security/jaas/common/callback/AuthenticationHelper.java#L26-L41 |
67,571 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.jaas.common/src/com/ibm/ws/security/jaas/common/callback/AuthenticationHelper.java | AuthenticationHelper.copyCertChain | public static X509Certificate[] copyCertChain(X509Certificate[] certChain) {
if (certChain == null) {
return null;
}
final int LEN = certChain.length;
if (LEN == 0) {
return new X509Certificate[LEN];
}
X509Certificate[] newCertChain = new X509Ce... | java | public static X509Certificate[] copyCertChain(X509Certificate[] certChain) {
if (certChain == null) {
return null;
}
final int LEN = certChain.length;
if (LEN == 0) {
return new X509Certificate[LEN];
}
X509Certificate[] newCertChain = new X509Ce... | [
"public",
"static",
"X509Certificate",
"[",
"]",
"copyCertChain",
"(",
"X509Certificate",
"[",
"]",
"certChain",
")",
"{",
"if",
"(",
"certChain",
"==",
"null",
")",
"{",
"return",
"null",
";",
"}",
"final",
"int",
"LEN",
"=",
"certChain",
".",
"length",
... | Create a copy of the specified cert array.
@param certChain
@return A copy of the specified cert array, or null if the input was null. | [
"Create",
"a",
"copy",
"of",
"the",
"specified",
"cert",
"array",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.jaas.common/src/com/ibm/ws/security/jaas/common/callback/AuthenticationHelper.java#L49-L64 |
67,572 | OpenLiberty/open-liberty | dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/UtilsChainListener.java | UtilsChainListener.waitOnChains | public void waitOnChains(long quiesceTimeout) {
ChannelFramework cf = ChannelFrameworkFactory.getChannelFramework();
int elapsedTime = 0;
if (waitingChainNames.size() > 0 && elapsedTime < quiesceTimeout) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
... | java | public void waitOnChains(long quiesceTimeout) {
ChannelFramework cf = ChannelFrameworkFactory.getChannelFramework();
int elapsedTime = 0;
if (waitingChainNames.size() > 0 && elapsedTime < quiesceTimeout) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
... | [
"public",
"void",
"waitOnChains",
"(",
"long",
"quiesceTimeout",
")",
"{",
"ChannelFramework",
"cf",
"=",
"ChannelFrameworkFactory",
".",
"getChannelFramework",
"(",
")",
";",
"int",
"elapsedTime",
"=",
"0",
";",
"if",
"(",
"waitingChainNames",
".",
"size",
"(",... | Poll the list of chains until they're stopped or the quiesce timeout is hit
@param quiesceTimeout | [
"Poll",
"the",
"list",
"of",
"chains",
"until",
"they",
"re",
"stopped",
"or",
"the",
"quiesce",
"timeout",
"is",
"hit"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.channelfw/src/com/ibm/ws/channelfw/internal/UtilsChainListener.java#L53-L77 |
67,573 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaManager.java | SchemaManager.closeLink | static void closeLink(CommsConnection conn) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "closeLink", conn);
conn.setSchemaSet(null);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "closeLink");
} | java | static void closeLink(CommsConnection conn) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "closeLink", conn);
conn.setSchemaSet(null);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "closeLink");
} | [
"static",
"void",
"closeLink",
"(",
"CommsConnection",
"conn",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"closeLink\"",
",",
"conn... | Called when a connection closes. | [
"Called",
"when",
"a",
"connection",
"closes",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaManager.java#L138-L144 |
67,574 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaManager.java | SchemaManager.receiveHandshake | static byte[] receiveHandshake(CommsConnection conn, byte[] data) throws JMFException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "receiveHandshake", conn);
Coder coder = new Coder(data);
conn.setSchemaSet(makeSchemaIdSet(coder));
byte[] ids = makeSchemaIdList(JMF... | java | static byte[] receiveHandshake(CommsConnection conn, byte[] data) throws JMFException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "receiveHandshake", conn);
Coder coder = new Coder(data);
conn.setSchemaSet(makeSchemaIdSet(coder));
byte[] ids = makeSchemaIdList(JMF... | [
"static",
"byte",
"[",
"]",
"receiveHandshake",
"(",
"CommsConnection",
"conn",
",",
"byte",
"[",
"]",
"data",
")",
"throws",
"JMFException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",... | Called when schema ids are received during an initial handshake | [
"Called",
"when",
"schema",
"ids",
"are",
"received",
"during",
"an",
"initial",
"handshake"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaManager.java#L147-L156 |
67,575 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaManager.java | SchemaManager.receiveSchemas | static void receiveSchemas(CommsConnection conn, byte[] data) throws JMFException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "receiveSchemas", conn);
final SchemaSet ids;
try {
ids = (SchemaSet)conn.getSchemaSet();
if (ids == null) {
if (TraceCom... | java | static void receiveSchemas(CommsConnection conn, byte[] data) throws JMFException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "receiveSchemas", conn);
final SchemaSet ids;
try {
ids = (SchemaSet)conn.getSchemaSet();
if (ids == null) {
if (TraceCom... | [
"static",
"void",
"receiveSchemas",
"(",
"CommsConnection",
"conn",
",",
"byte",
"[",
"]",
"data",
")",
"throws",
"JMFException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr... | Called when schema definitions are received on a connection | [
"Called",
"when",
"schema",
"definitions",
"are",
"received",
"on",
"a",
"connection"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaManager.java#L159-L179 |
67,576 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaManager.java | SchemaManager.sendSchemas | static void sendSchemas(CommsConnection conn, JMFSchema[] schemas)
throws SIConnectionLostException, SIConnectionUnavailableException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "sendSchemas", conn);
// Check if the recepient has all the schemas needed to decode the... | java | static void sendSchemas(CommsConnection conn, JMFSchema[] schemas)
throws SIConnectionLostException, SIConnectionUnavailableException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "sendSchemas", conn);
// Check if the recepient has all the schemas needed to decode the... | [
"static",
"void",
"sendSchemas",
"(",
"CommsConnection",
"conn",
",",
"JMFSchema",
"[",
"]",
"schemas",
")",
"throws",
"SIConnectionLostException",
",",
"SIConnectionUnavailableException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
... | Called when sending a message on a connection to check for and send any missing schemas | [
"Called",
"when",
"sending",
"a",
"message",
"on",
"a",
"connection",
"to",
"check",
"for",
"and",
"send",
"any",
"missing",
"schemas"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaManager.java#L182-L317 |
67,577 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaManager.java | SchemaManager.addSchemaDefinitions | private static void addSchemaDefinitions(SchemaSet ids, Coder coder) throws JMFException {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
SibTr.debug(tc, "Decoding " + coder.count + "new schema definitions");
// Decode the new schemas and add them to the registry and the list of known
... | java | private static void addSchemaDefinitions(SchemaSet ids, Coder coder) throws JMFException {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
SibTr.debug(tc, "Decoding " + coder.count + "new schema definitions");
// Decode the new schemas and add them to the registry and the list of known
... | [
"private",
"static",
"void",
"addSchemaDefinitions",
"(",
"SchemaSet",
"ids",
",",
"Coder",
"coder",
")",
"throws",
"JMFException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"SibTr... | Add extra incoming schema definitions | [
"Add",
"extra",
"incoming",
"schema",
"definitions"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/mfp/impl/SchemaManager.java#L320-L335 |
67,578 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.jaas.common/src/com/ibm/ws/security/jaas/common/modules/CommonLoginModule.java | CommonLoginModule.cleanUpSubject | public void cleanUpSubject() {
if (temporarySubject != null) {
AccessController.doPrivileged(new PrivilegedAction<Object>() {
@Override
public Object run() {
removeSubjectPrincipals();
removeSubjectPublicCredentials();
... | java | public void cleanUpSubject() {
if (temporarySubject != null) {
AccessController.doPrivileged(new PrivilegedAction<Object>() {
@Override
public Object run() {
removeSubjectPrincipals();
removeSubjectPublicCredentials();
... | [
"public",
"void",
"cleanUpSubject",
"(",
")",
"{",
"if",
"(",
"temporarySubject",
"!=",
"null",
")",
"{",
"AccessController",
".",
"doPrivileged",
"(",
"new",
"PrivilegedAction",
"<",
"Object",
">",
"(",
")",
"{",
"@",
"Override",
"public",
"Object",
"run",
... | Common Subject clean up. | [
"Common",
"Subject",
"clean",
"up",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.jaas.common/src/com/ibm/ws/security/jaas/common/modules/CommonLoginModule.java#L93-L107 |
67,579 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/RecoverableUnitSectionImpl.java | RecoverableUnitSectionImpl.payloadWritten | protected void payloadWritten(int payloadSize)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "payloadWritten", new Object[] {this, new Integer(payloadSize)});
// Track the unwritten payload decrease directly. We take no account for this classes header
// values in this figure. The total payload rem... | java | protected void payloadWritten(int payloadSize)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "payloadWritten", new Object[] {this, new Integer(payloadSize)});
// Track the unwritten payload decrease directly. We take no account for this classes header
// values in this figure. The total payload rem... | [
"protected",
"void",
"payloadWritten",
"(",
"int",
"payloadSize",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"payloadWritten\"",
",",
"new",
"Object",
"[",
"]",
"{",
"this",
",",
"new",
"Integ... | Informs the recoverable unit section that previously unwritten data has been
written to disk by one of its data items and no longer needs to be tracked
in the unwritten data field. The recoverable unit must use the supplied
information to track the amount of unwritten active data it holds. This
information must be pass... | [
"Informs",
"the",
"recoverable",
"unit",
"section",
"that",
"previously",
"unwritten",
"data",
"has",
"been",
"written",
"to",
"disk",
"by",
"one",
"of",
"its",
"data",
"items",
"and",
"no",
"longer",
"needs",
"to",
"be",
"tracked",
"in",
"the",
"unwritten",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/RecoverableUnitSectionImpl.java#L1063-L1086 |
67,580 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/RecoverableUnitSectionImpl.java | RecoverableUnitSectionImpl.payloadDeleted | protected void payloadDeleted(int totalPayloadSize, int unwrittenPayloadSize)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "payloadDeleted", new Object[] {this, new Integer(totalPayloadSize), new Integer(unwrittenPayloadSize)});
// Track the payload decreases directly. We take no account for this classe... | java | protected void payloadDeleted(int totalPayloadSize, int unwrittenPayloadSize)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "payloadDeleted", new Object[] {this, new Integer(totalPayloadSize), new Integer(unwrittenPayloadSize)});
// Track the payload decreases directly. We take no account for this classe... | [
"protected",
"void",
"payloadDeleted",
"(",
"int",
"totalPayloadSize",
",",
"int",
"unwrittenPayloadSize",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"payloadDeleted\"",
",",
"new",
"Object",
"[",
... | Informs the recoverable unit section that data has been removed. At present this
method is only used by the SingleDataItem class to remove the payload required
for the its data before adding back additional payload back again for the
replacement data data.
The recoverable unit section must use the supplied information... | [
"Informs",
"the",
"recoverable",
"unit",
"section",
"that",
"data",
"has",
"been",
"removed",
".",
"At",
"present",
"this",
"method",
"is",
"only",
"used",
"by",
"the",
"SingleDataItem",
"class",
"to",
"remove",
"the",
"payload",
"required",
"for",
"the",
"i... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/RecoverableUnitSectionImpl.java#L1136-L1165 |
67,581 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/AutomaticTimerBean.java | AutomaticTimerBean.getBeanId | public BeanId getBeanId() {
if (ivBeanId == null) {
ivBeanId = new BeanId(ivBMD.j2eeName, null, false);
}
return ivBeanId;
} | java | public BeanId getBeanId() {
if (ivBeanId == null) {
ivBeanId = new BeanId(ivBMD.j2eeName, null, false);
}
return ivBeanId;
} | [
"public",
"BeanId",
"getBeanId",
"(",
")",
"{",
"if",
"(",
"ivBeanId",
"==",
"null",
")",
"{",
"ivBeanId",
"=",
"new",
"BeanId",
"(",
"ivBMD",
".",
"j2eeName",
",",
"null",
",",
"false",
")",
";",
"}",
"return",
"ivBeanId",
";",
"}"
] | Gets the partially formed BeanId for this bean. The resulting
BeanId will not have a home reference.
@return the partially formed BeanId | [
"Gets",
"the",
"partially",
"formed",
"BeanId",
"for",
"this",
"bean",
".",
"The",
"resulting",
"BeanId",
"will",
"not",
"have",
"a",
"home",
"reference",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/AutomaticTimerBean.java#L127-L132 |
67,582 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.audit.reader/src/com/ibm/ws/security/audit/reader/tasks/BaseCommandTask.java | BaseCommandTask.promptForText | protected String promptForText(com.ibm.ws.security.audit.reader.utils.ConsoleWrapper stdin, PrintStream stdout) {
return promptForText(stdin, stdout,
"encode.enterText", "encode.reenterText",
"encode.readError", "encode.entriesDidNotMatch");
} | java | protected String promptForText(com.ibm.ws.security.audit.reader.utils.ConsoleWrapper stdin, PrintStream stdout) {
return promptForText(stdin, stdout,
"encode.enterText", "encode.reenterText",
"encode.readError", "encode.entriesDidNotMatch");
} | [
"protected",
"String",
"promptForText",
"(",
"com",
".",
"ibm",
".",
"ws",
".",
"security",
".",
"audit",
".",
"reader",
".",
"utils",
".",
"ConsoleWrapper",
"stdin",
",",
"PrintStream",
"stdout",
")",
"{",
"return",
"promptForText",
"(",
"stdin",
",",
"st... | Prompt the user to enter text to encode.
Prompts twice and compares to ensure it was entered correctly.
@return Entered String | [
"Prompt",
"the",
"user",
"to",
"enter",
"text",
"to",
"encode",
".",
"Prompts",
"twice",
"and",
"compares",
"to",
"ensure",
"it",
"was",
"entered",
"correctly",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.audit.reader/src/com/ibm/ws/security/audit/reader/tasks/BaseCommandTask.java#L191-L195 |
67,583 | OpenLiberty/open-liberty | dev/com.ibm.ws.org.apache.cxf.cxf.core.3.2/src/org/apache/cxf/common/util/SystemPropertyAction.java | SystemPropertyAction.getPropertyOrNull | public static String getPropertyOrNull(String name) {
try {
return AccessController.doPrivileged(new SystemPropertyAction(name));
} catch (SecurityException ex) {
LOG.log(Level.FINE, "SecurityException raised getting property " + name, ex);
return null;
}
... | java | public static String getPropertyOrNull(String name) {
try {
return AccessController.doPrivileged(new SystemPropertyAction(name));
} catch (SecurityException ex) {
LOG.log(Level.FINE, "SecurityException raised getting property " + name, ex);
return null;
}
... | [
"public",
"static",
"String",
"getPropertyOrNull",
"(",
"String",
"name",
")",
"{",
"try",
"{",
"return",
"AccessController",
".",
"doPrivileged",
"(",
"new",
"SystemPropertyAction",
"(",
"name",
")",
")",
";",
"}",
"catch",
"(",
"SecurityException",
"ex",
")"... | Get the system property via the AccessController, but if a SecurityException is
raised, just return null;
@param name | [
"Get",
"the",
"system",
"property",
"via",
"the",
"AccessController",
"but",
"if",
"a",
"SecurityException",
"is",
"raised",
"just",
"return",
"null",
";"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.org.apache.cxf.cxf.core.3.2/src/org/apache/cxf/common/util/SystemPropertyAction.java#L73-L80 |
67,584 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/matchspace/MatchTarget.java | MatchTarget.duplicate | public MatchTarget duplicate()
{
try
{
return (MatchTarget) clone();
}
catch (CloneNotSupportedException e)
{
// No FFDC Code Needed.
// FFDC driven by wrapper class.
FFDC.processException(cclass,
"com.ibm.ws.sib.matchspace.MatchTarget.duplicate",
e,
... | java | public MatchTarget duplicate()
{
try
{
return (MatchTarget) clone();
}
catch (CloneNotSupportedException e)
{
// No FFDC Code Needed.
// FFDC driven by wrapper class.
FFDC.processException(cclass,
"com.ibm.ws.sib.matchspace.MatchTarget.duplicate",
e,
... | [
"public",
"MatchTarget",
"duplicate",
"(",
")",
"{",
"try",
"{",
"return",
"(",
"MatchTarget",
")",
"clone",
"(",
")",
";",
"}",
"catch",
"(",
"CloneNotSupportedException",
"e",
")",
"{",
"// No FFDC Code Needed.",
"// FFDC driven by wrapper class.",
"FFDC",
".",
... | Creates a clone of this MatchTarget. Override only if the system clone support does
not produce a correct result. | [
"Creates",
"a",
"clone",
"of",
"this",
"MatchTarget",
".",
"Override",
"only",
"if",
"the",
"system",
"clone",
"support",
"does",
"not",
"produce",
"a",
"correct",
"result",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/matchspace/MatchTarget.java#L79-L96 |
67,585 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer/src/com/ibm/ws/ejbcontainer/osgi/internal/NameSpaceBinderImpl.java | NameSpaceBinderImpl.createBindingObject | @Override
public EJBBinding createBindingObject(HomeRecord hr,
HomeWrapperSet homeSet,
String interfaceName,
int interfaceIndex,
boolean local) {
... | java | @Override
public EJBBinding createBindingObject(HomeRecord hr,
HomeWrapperSet homeSet,
String interfaceName,
int interfaceIndex,
boolean local) {
... | [
"@",
"Override",
"public",
"EJBBinding",
"createBindingObject",
"(",
"HomeRecord",
"hr",
",",
"HomeWrapperSet",
"homeSet",
",",
"String",
"interfaceName",
",",
"int",
"interfaceIndex",
",",
"boolean",
"local",
")",
"{",
"return",
"new",
"EJBBinding",
"(",
"hr",
... | Store the binding information for later use.
@see com.ibm.ws.ejbcontainer.runtime.NameSpaceBinder#createBindingObject(com.ibm.ejs.container.HomeRecord, com.ibm.websphere.csi.HomeWrapperSet, java.lang.String, boolean,
boolean) | [
"Store",
"the",
"binding",
"information",
"for",
"later",
"use",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer/src/com/ibm/ws/ejbcontainer/osgi/internal/NameSpaceBinderImpl.java#L54-L61 |
67,586 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer/src/com/ibm/ws/ejbcontainer/osgi/internal/NameSpaceBinderImpl.java | NameSpaceBinderImpl.createJavaBindingObject | @Override
public EJBBinding createJavaBindingObject(HomeRecord hr,
HomeWrapperSet homeSet,
String interfaceName,
int interfaceIndex,
... | java | @Override
public EJBBinding createJavaBindingObject(HomeRecord hr,
HomeWrapperSet homeSet,
String interfaceName,
int interfaceIndex,
... | [
"@",
"Override",
"public",
"EJBBinding",
"createJavaBindingObject",
"(",
"HomeRecord",
"hr",
",",
"HomeWrapperSet",
"homeSet",
",",
"String",
"interfaceName",
",",
"int",
"interfaceIndex",
",",
"boolean",
"local",
",",
"EJBBinding",
"bindingObject",
")",
"{",
"retur... | This method is provided for tWas and is not used for Liberty.
Just return the bindingObject for now. | [
"This",
"method",
"is",
"provided",
"for",
"tWas",
"and",
"is",
"not",
"used",
"for",
"Liberty",
".",
"Just",
"return",
"the",
"bindingObject",
"for",
"now",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer/src/com/ibm/ws/ejbcontainer/osgi/internal/NameSpaceBinderImpl.java#L67-L75 |
67,587 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/cmdline/PackageDelegateClassLoader.java | PackageDelegateClassLoader.loadClass | @Override
protected Class<?> loadClass(String className, boolean resolve)
throws ClassNotFoundException {
Class<?> loadedClass = null;
synchronized (this) {
loadedClass = findLoadedClass(className);
if (loadedClass == null) {
int index =... | java | @Override
protected Class<?> loadClass(String className, boolean resolve)
throws ClassNotFoundException {
Class<?> loadedClass = null;
synchronized (this) {
loadedClass = findLoadedClass(className);
if (loadedClass == null) {
int index =... | [
"@",
"Override",
"protected",
"Class",
"<",
"?",
">",
"loadClass",
"(",
"String",
"className",
",",
"boolean",
"resolve",
")",
"throws",
"ClassNotFoundException",
"{",
"Class",
"<",
"?",
">",
"loadedClass",
"=",
"null",
";",
"synchronized",
"(",
"this",
")",... | load class from the local classpath first, and the class was not found, load from parent or system classload again. | [
"load",
"class",
"from",
"the",
"local",
"classpath",
"first",
"and",
"the",
"class",
"was",
"not",
"found",
"load",
"from",
"parent",
"or",
"system",
"classload",
"again",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.boot.core/src/com/ibm/ws/kernel/boot/cmdline/PackageDelegateClassLoader.java#L30-L65 |
67,588 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/x509/X509DefaultEntryConverter.java | X509DefaultEntryConverter.getConvertedValue | public DERObject getConvertedValue(
DERObjectIdentifier oid,
String value)
{
if (value.length() != 0 && value.charAt(0) == '#')
{
try
{
return convertHexEncoded(value, 1);
}
catch (IOException e)
... | java | public DERObject getConvertedValue(
DERObjectIdentifier oid,
String value)
{
if (value.length() != 0 && value.charAt(0) == '#')
{
try
{
return convertHexEncoded(value, 1);
}
catch (IOException e)
... | [
"public",
"DERObject",
"getConvertedValue",
"(",
"DERObjectIdentifier",
"oid",
",",
"String",
"value",
")",
"{",
"if",
"(",
"value",
".",
"length",
"(",
")",
"!=",
"0",
"&&",
"value",
".",
"charAt",
"(",
"0",
")",
"==",
"'",
"'",
")",
"{",
"try",
"{"... | Apply default coversion for the given value depending on the oid
and the character range of the value.
@param oid the object identifier for the DN entry
@param value the value associated with it
@return the ASN.1 equivalent for the string value. | [
"Apply",
"default",
"coversion",
"for",
"the",
"given",
"value",
"depending",
"on",
"the",
"oid",
"and",
"the",
"character",
"range",
"of",
"the",
"value",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/transport/iiop/asn1/x509/X509DefaultEntryConverter.java#L41-L70 |
67,589 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/monitor/internal/bci/ClassAvailableTransformer.java | ClassAvailableTransformer.transform | @Override
public byte[] transform(ClassLoader loader,
String className,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) throws IllegalClassFormatException {
... | java | @Override
public byte[] transform(ClassLoader loader,
String className,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) throws IllegalClassFormatException {
... | [
"@",
"Override",
"public",
"byte",
"[",
"]",
"transform",
"(",
"ClassLoader",
"loader",
",",
"String",
"className",
",",
"Class",
"<",
"?",
">",
"classBeingRedefined",
",",
"ProtectionDomain",
"protectionDomain",
",",
"byte",
"[",
"]",
"classfileBuffer",
")",
... | Perform necessary transformation to hook static initializers of probe
candidates. | [
"Perform",
"necessary",
"transformation",
"to",
"hook",
"static",
"initializers",
"of",
"probe",
"candidates",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/monitor/internal/bci/ClassAvailableTransformer.java#L78-L96 |
67,590 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractSingleFileObjectStore.java | AbstractSingleFileObjectStore.setStoreFileSize | public synchronized void setStoreFileSize(long newMinimumStoreFileSize
, long newMaximumStoreFileSize)
throws ObjectManagerException
{
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
... | java | public synchronized void setStoreFileSize(long newMinimumStoreFileSize
, long newMaximumStoreFileSize)
throws ObjectManagerException
{
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
... | [
"public",
"synchronized",
"void",
"setStoreFileSize",
"(",
"long",
"newMinimumStoreFileSize",
",",
"long",
"newMaximumStoreFileSize",
")",
"throws",
"ObjectManagerException",
"{",
"if",
"(",
"Tracing",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"trace",
".",
"isEntry... | Sets the size of the store file to the new values.
At least the minimum space is reserved in the file system.
No more than the maximum number of bytes will be used.
Blocks until this has completed.
The initial values used by the ObjecStore are 0 and Long.MAX_VAULE.
The store will attempt to release space as ManagedObje... | [
"Sets",
"the",
"size",
"of",
"the",
"store",
"file",
"to",
"the",
"new",
"values",
".",
"At",
"least",
"the",
"minimum",
"space",
"is",
"reserved",
"in",
"the",
"file",
"system",
".",
"No",
"more",
"than",
"the",
"maximum",
"number",
"of",
"bytes",
"wi... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractSingleFileObjectStore.java#L287-L354 |
67,591 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractSingleFileObjectStore.java | AbstractSingleFileObjectStore.setCachedManagedObjectsSize | public synchronized void setCachedManagedObjectsSize(int cachedManagedObjectsSize)
throws ObjectManagerException
{
this.cachedManagedObjectsSize = cachedManagedObjectsSize;
cachedManagedObjects = new java.lang.ref.SoftReference[cachedManagedObjectsSize];
writeHeader();
... | java | public synchronized void setCachedManagedObjectsSize(int cachedManagedObjectsSize)
throws ObjectManagerException
{
this.cachedManagedObjectsSize = cachedManagedObjectsSize;
cachedManagedObjects = new java.lang.ref.SoftReference[cachedManagedObjectsSize];
writeHeader();
... | [
"public",
"synchronized",
"void",
"setCachedManagedObjectsSize",
"(",
"int",
"cachedManagedObjectsSize",
")",
"throws",
"ObjectManagerException",
"{",
"this",
".",
"cachedManagedObjectsSize",
"=",
"cachedManagedObjectsSize",
";",
"cachedManagedObjects",
"=",
"new",
"java",
... | Causes all curently cached ManagedObjects to be dropped.
@param cachedManagedObjectsSize The cachedManagedObjectsSize to set.
@throws ObjectManagerException | [
"Causes",
"all",
"curently",
"cached",
"ManagedObjects",
"to",
"be",
"dropped",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractSingleFileObjectStore.java#L370-L377 |
67,592 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractSingleFileObjectStore.java | AbstractSingleFileObjectStore.setAllocationAllowed | protected void setAllocationAllowed()
throws ObjectManagerException {
final String methodName = "setAllocationAllowed";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this, cclass, methodName, new Object[] { new Long(storeFileSizeAllocated),
... | java | protected void setAllocationAllowed()
throws ObjectManagerException {
final String methodName = "setAllocationAllowed";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this, cclass, methodName, new Object[] { new Long(storeFileSizeAllocated),
... | [
"protected",
"void",
"setAllocationAllowed",
"(",
")",
"throws",
"ObjectManagerException",
"{",
"final",
"String",
"methodName",
"=",
"\"setAllocationAllowed\"",
";",
"if",
"(",
"Tracing",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"trace",
".",
"isEntryEnabled",
"... | Tests to see if allocation of new Objects should be allowed or not.
Caller must be synchronized on this.
@throws ObjectManagerException | [
"Tests",
"to",
"see",
"if",
"allocation",
"of",
"new",
"Objects",
"should",
"be",
"allowed",
"or",
"not",
".",
"Caller",
"must",
"be",
"synchronized",
"on",
"this",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractSingleFileObjectStore.java#L421-L514 |
67,593 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractSingleFileObjectStore.java | AbstractSingleFileObjectStore.reserve | public final void reserve(int deltaSize, boolean paced)
throws ObjectManagerException
{
final String methodName = "reserve";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
methodNa... | java | public final void reserve(int deltaSize, boolean paced)
throws ObjectManagerException
{
final String methodName = "reserve";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
methodNa... | [
"public",
"final",
"void",
"reserve",
"(",
"int",
"deltaSize",
",",
"boolean",
"paced",
")",
"throws",
"ObjectManagerException",
"{",
"final",
"String",
"methodName",
"=",
"\"reserve\"",
";",
"if",
"(",
"Tracing",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"t... | Space accounting.
@see com.ibm.ws.objectManager.ObjectStore#reserve(int,boolean) | [
"Space",
"accounting",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractSingleFileObjectStore.java#L691-L800 |
67,594 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractSingleFileObjectStore.java | AbstractSingleFileObjectStore.simulateFull | public void simulateFull(boolean isFull)
throws ObjectManagerException {
final String methodName = "simulateFull";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this, cclass, methodName, new Object[] { new Boolean(isFull) });
if (isFull... | java | public void simulateFull(boolean isFull)
throws ObjectManagerException {
final String methodName = "simulateFull";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this, cclass, methodName, new Object[] { new Boolean(isFull) });
if (isFull... | [
"public",
"void",
"simulateFull",
"(",
"boolean",
"isFull",
")",
"throws",
"ObjectManagerException",
"{",
"final",
"String",
"methodName",
"=",
"\"simulateFull\"",
";",
"if",
"(",
"Tracing",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"trace",
".",
"isEntryEnabled... | When enabled, reserve requests to this ObjectStore will throw ObjectStoreFullException.
@param isFull true subsequent reservations throw ObjectStoreFullException. if false subsequent reservations may
succeed.
@throws ObjectManagerException | [
"When",
"enabled",
"reserve",
"requests",
"to",
"this",
"ObjectStore",
"will",
"throw",
"ObjectStoreFullException",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractSingleFileObjectStore.java#L809-L841 |
67,595 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractSingleFileObjectStore.java | AbstractSingleFileObjectStore.flush | public synchronized void flush()
throws ObjectManagerException
{
final String methodName = "flush";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
methodName);
if (storeSt... | java | public synchronized void flush()
throws ObjectManagerException
{
final String methodName = "flush";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
methodName);
if (storeSt... | [
"public",
"synchronized",
"void",
"flush",
"(",
")",
"throws",
"ObjectManagerException",
"{",
"final",
"String",
"methodName",
"=",
"\"flush\"",
";",
"if",
"(",
"Tracing",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"trace",
".",
"isEntryEnabled",
"(",
")",
")... | Writes buffered output to hardened storage. Blocks until this has
completed.
@throws ObjectManagerException | [
"Writes",
"buffered",
"output",
"to",
"hardened",
"storage",
".",
"Blocks",
"until",
"this",
"has",
"completed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractSingleFileObjectStore.java#L1101-L1195 |
67,596 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractSingleFileObjectStore.java | AbstractSingleFileObjectStore.updateDirectory | private void updateDirectory()
throws ObjectManagerException
{
final String methodName = "updateDirectory";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
methodName);
// TODO See... | java | private void updateDirectory()
throws ObjectManagerException
{
final String methodName = "updateDirectory";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
methodName);
// TODO See... | [
"private",
"void",
"updateDirectory",
"(",
")",
"throws",
"ObjectManagerException",
"{",
"final",
"String",
"methodName",
"=",
"\"updateDirectory\"",
";",
"if",
"(",
"Tracing",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"trace",
".",
"isEntryEnabled",
"(",
")",
... | Capture the objects we will write and delete.
Update the directory and freeSpaceMap. Do not overwrite any existing data
because we need to have the before and after versions available until we flip
over to the after version when we rewrite the header.
1) Update the directory.
2) Allocate new space for the directory and... | [
"Capture",
"the",
"objects",
"we",
"will",
"write",
"and",
"delete",
".",
"Update",
"the",
"directory",
"and",
"freeSpaceMap",
".",
"Do",
"not",
"overwrite",
"any",
"existing",
"data",
"because",
"we",
"need",
"to",
"have",
"the",
"before",
"and",
"after",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractSingleFileObjectStore.java#L1210-L1355 |
67,597 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractSingleFileObjectStore.java | AbstractSingleFileObjectStore.allocateSpace | FreeSpace allocateSpace(long lengthRequired)
throws ObjectManagerException
{
final String methodName = "allocateSpace";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
methodName,
... | java | FreeSpace allocateSpace(long lengthRequired)
throws ObjectManagerException
{
final String methodName = "allocateSpace";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
methodName,
... | [
"FreeSpace",
"allocateSpace",
"(",
"long",
"lengthRequired",
")",
"throws",
"ObjectManagerException",
"{",
"final",
"String",
"methodName",
"=",
"\"allocateSpace\"",
";",
"if",
"(",
"Tracing",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"trace",
".",
"isEntryEnabled... | Allocate space in the file.
@param lengthRequired the number of bytes needed.
@return FreeSpace giving the byte address that the buffer can be written at. The actual
length allocated may be greater than the size requested.
@throws ObjectManagerException | [
"Allocate",
"space",
"in",
"the",
"file",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractSingleFileObjectStore.java#L1365-L1466 |
67,598 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.feature.cmdline/src/com/ibm/ws/kernel/feature/internal/generator/ManifestFileProcessor.java | ManifestFileProcessor.getFeatureDefinitions | public Map<String, ProvisioningFeatureDefinition> getFeatureDefinitions(String productName) {
if (productName.equals(CORE_PRODUCT_NAME)) {
return getCoreProductFeatureDefinitions();
} else if (productName.equals(USR_PRODUCT_EXT_NAME)) {
return getUsrProductFeatureDefinitions();
... | java | public Map<String, ProvisioningFeatureDefinition> getFeatureDefinitions(String productName) {
if (productName.equals(CORE_PRODUCT_NAME)) {
return getCoreProductFeatureDefinitions();
} else if (productName.equals(USR_PRODUCT_EXT_NAME)) {
return getUsrProductFeatureDefinitions();
... | [
"public",
"Map",
"<",
"String",
",",
"ProvisioningFeatureDefinition",
">",
"getFeatureDefinitions",
"(",
"String",
"productName",
")",
"{",
"if",
"(",
"productName",
".",
"equals",
"(",
"CORE_PRODUCT_NAME",
")",
")",
"{",
"return",
"getCoreProductFeatureDefinitions",
... | Retrieves a map of features definitions associated with the specified product name.
@param productName The product name whose feature definitions to return.
@return The feature definitions associated with the input product name. | [
"Retrieves",
"a",
"map",
"of",
"features",
"definitions",
"associated",
"with",
"the",
"specified",
"product",
"name",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.feature.cmdline/src/com/ibm/ws/kernel/feature/internal/generator/ManifestFileProcessor.java#L79-L87 |
67,599 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.feature.cmdline/src/com/ibm/ws/kernel/feature/internal/generator/ManifestFileProcessor.java | ManifestFileProcessor.getCoreFeatureDefinitionsExceptPlatform | public Map<String, ProvisioningFeatureDefinition> getCoreFeatureDefinitionsExceptPlatform() {
Map<String, ProvisioningFeatureDefinition> features = new TreeMap<String, ProvisioningFeatureDefinition>();
File featureDir = getCoreFeatureDir();
//the feature directory may not exist if the packaged s... | java | public Map<String, ProvisioningFeatureDefinition> getCoreFeatureDefinitionsExceptPlatform() {
Map<String, ProvisioningFeatureDefinition> features = new TreeMap<String, ProvisioningFeatureDefinition>();
File featureDir = getCoreFeatureDir();
//the feature directory may not exist if the packaged s... | [
"public",
"Map",
"<",
"String",
",",
"ProvisioningFeatureDefinition",
">",
"getCoreFeatureDefinitionsExceptPlatform",
"(",
")",
"{",
"Map",
"<",
"String",
",",
"ProvisioningFeatureDefinition",
">",
"features",
"=",
"new",
"TreeMap",
"<",
"String",
",",
"ProvisioningFe... | This API for install used only. | [
"This",
"API",
"for",
"install",
"used",
"only",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.feature.cmdline/src/com/ibm/ws/kernel/feature/internal/generator/ManifestFileProcessor.java#L90-L120 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.