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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
110,900 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/msgstore/gbs/GBSDeleteFringe.java | GBSDeleteFringe.lastInList | private GBSNode lastInList(
GBSNode p)
{
GBSNode q = p;
p = p.rightChild();
while (p != null)
{
q = p;
p = p.rightChild();
}
return q;
} | java | private GBSNode lastInList(
GBSNode p)
{
GBSNode q = p;
p = p.rightChild();
while (p != null)
{
q = p;
p = p.rightChild();
}
return q;
} | [
"private",
"GBSNode",
"lastInList",
"(",
"GBSNode",
"p",
")",
"{",
"GBSNode",
"q",
"=",
"p",
";",
"p",
"=",
"p",
".",
"rightChild",
"(",
")",
";",
"while",
"(",
"p",
"!=",
"null",
")",
"{",
"q",
"=",
"p",
";",
"p",
"=",
"p",
".",
"rightChild",
... | Return the last node in a linear list of nodes linked together
by their right child pointer. | [
"Return",
"the",
"last",
"node",
"in",
"a",
"linear",
"list",
"of",
"nodes",
"linked",
"together",
"by",
"their",
"right",
"child",
"pointer",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/msgstore/gbs/GBSDeleteFringe.java#L379-L390 |
110,901 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/msgstore/gbs/GBSDeleteFringe.java | GBSDeleteFringe.linearize | private GBSNode linearize(
DeleteStack.Linearizer xx,
GBSNode p)
{
xx.headp = null;
xx.lastp = null;
innerLinearize(xx, p);
return xx.headp;
} | java | private GBSNode linearize(
DeleteStack.Linearizer xx,
GBSNode p)
{
xx.headp = null;
xx.lastp = null;
innerLinearize(xx, p);
return xx.headp;
} | [
"private",
"GBSNode",
"linearize",
"(",
"DeleteStack",
".",
"Linearizer",
"xx",
",",
"GBSNode",
"p",
")",
"{",
"xx",
".",
"headp",
"=",
"null",
";",
"xx",
".",
"lastp",
"=",
"null",
";",
"innerLinearize",
"(",
"xx",
",",
"p",
")",
";",
"return",
"xx"... | Turn a sub-fringe into a linear list.
<p>If you look at the diagrams of insert fringe balancing in
GBSInsertFringe you will observe that as a fringe grows on insert
it starts out as a linear list and, when it reaches the right
length, suddenly becomes a tree. When a full fringe sub-tree has a
node deleted, it reverts... | [
"Turn",
"a",
"sub",
"-",
"fringe",
"into",
"a",
"linear",
"list",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/msgstore/gbs/GBSDeleteFringe.java#L401-L409 |
110,902 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/msgstore/gbs/GBSDeleteFringe.java | GBSDeleteFringe.innerLinearize | private void innerLinearize(
DeleteStack.Linearizer xx,
GBSNode p)
{
xx.depth++;
if (xx.depth > GBSTree.maxDepth)
throw new OptimisticDepthException(
"maxDepth (" + GBSTree.maxDepth +
") exceeded in GBSDeleteFringe.innerLinearize().");
if (p.leftChild() ... | java | private void innerLinearize(
DeleteStack.Linearizer xx,
GBSNode p)
{
xx.depth++;
if (xx.depth > GBSTree.maxDepth)
throw new OptimisticDepthException(
"maxDepth (" + GBSTree.maxDepth +
") exceeded in GBSDeleteFringe.innerLinearize().");
if (p.leftChild() ... | [
"private",
"void",
"innerLinearize",
"(",
"DeleteStack",
".",
"Linearizer",
"xx",
",",
"GBSNode",
"p",
")",
"{",
"xx",
".",
"depth",
"++",
";",
"if",
"(",
"xx",
".",
"depth",
">",
"GBSTree",
".",
"maxDepth",
")",
"throw",
"new",
"OptimisticDepthException",... | This is the recursive part of linearize. | [
"This",
"is",
"the",
"recursive",
"part",
"of",
"linearize",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.common/src/com/ibm/ws/sib/msgstore/gbs/GBSDeleteFringe.java#L414-L439 |
110,903 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java | HttpResponseMessageImpl.init | public void init(HttpInboundServiceContext sc, BNFHeaders hdrs) {
setOwner(sc);
setBinaryParseState(HttpInternalConstants.PARSING_BINARY_VERSION);
if (null != hdrs) {
hdrs.duplicate(this);
}
initVersion();
} | java | public void init(HttpInboundServiceContext sc, BNFHeaders hdrs) {
setOwner(sc);
setBinaryParseState(HttpInternalConstants.PARSING_BINARY_VERSION);
if (null != hdrs) {
hdrs.duplicate(this);
}
initVersion();
} | [
"public",
"void",
"init",
"(",
"HttpInboundServiceContext",
"sc",
",",
"BNFHeaders",
"hdrs",
")",
"{",
"setOwner",
"(",
"sc",
")",
";",
"setBinaryParseState",
"(",
"HttpInternalConstants",
".",
"PARSING_BINARY_VERSION",
")",
";",
"if",
"(",
"null",
"!=",
"hdrs",... | Initialize this outgoing response message with specific headers,
ie. ones stored in a cache perhaps.
@param sc
@param hdrs | [
"Initialize",
"this",
"outgoing",
"response",
"message",
"with",
"specific",
"headers",
"ie",
".",
"ones",
"stored",
"in",
"a",
"cache",
"perhaps",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java#L137-L144 |
110,904 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java | HttpResponseMessageImpl.init | public void init(HttpOutboundServiceContext sc, BNFHeaders hdrs) {
setOwner(sc);
setBinaryParseState(HttpInternalConstants.PARSING_BINARY_VERSION);
if (null != hdrs) {
hdrs.duplicate(this);
}
} | java | public void init(HttpOutboundServiceContext sc, BNFHeaders hdrs) {
setOwner(sc);
setBinaryParseState(HttpInternalConstants.PARSING_BINARY_VERSION);
if (null != hdrs) {
hdrs.duplicate(this);
}
} | [
"public",
"void",
"init",
"(",
"HttpOutboundServiceContext",
"sc",
",",
"BNFHeaders",
"hdrs",
")",
"{",
"setOwner",
"(",
"sc",
")",
";",
"setBinaryParseState",
"(",
"HttpInternalConstants",
".",
"PARSING_BINARY_VERSION",
")",
";",
"if",
"(",
"null",
"!=",
"hdrs"... | Initialize this incoming response message with specific headers,
ie. ones stored in a cache perhaps.
@param sc
@param hdrs | [
"Initialize",
"this",
"incoming",
"response",
"message",
"with",
"specific",
"headers",
"ie",
".",
"ones",
"stored",
"in",
"a",
"cache",
"perhaps",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java#L153-L159 |
110,905 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java | HttpResponseMessageImpl.initVersion | private void initVersion() {
VersionValues ver = getServiceContext().getRequestVersion();
VersionValues configVer = getServiceContext().getHttpConfig().getOutgoingVersion();
if (VersionValues.V10.equals(configVer) && VersionValues.V11.equals(ver)) {
if (TraceComponent.isAnyTracingEna... | java | private void initVersion() {
VersionValues ver = getServiceContext().getRequestVersion();
VersionValues configVer = getServiceContext().getHttpConfig().getOutgoingVersion();
if (VersionValues.V10.equals(configVer) && VersionValues.V11.equals(ver)) {
if (TraceComponent.isAnyTracingEna... | [
"private",
"void",
"initVersion",
"(",
")",
"{",
"VersionValues",
"ver",
"=",
"getServiceContext",
"(",
")",
".",
"getRequestVersion",
"(",
")",
";",
"VersionValues",
"configVer",
"=",
"getServiceContext",
"(",
")",
".",
"getHttpConfig",
"(",
")",
".",
"getOut... | Initialize the response version to either match the request version or
to the lower 1.0 version based on the channel configuration. | [
"Initialize",
"the",
"response",
"version",
"to",
"either",
"match",
"the",
"request",
"version",
"or",
"to",
"the",
"lower",
"1",
".",
"0",
"version",
"based",
"on",
"the",
"channel",
"configuration",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java#L165-L176 |
110,906 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java | HttpResponseMessageImpl.isBodyExpected | @Override
public boolean isBodyExpected() {
if (VersionValues.V10.equals(getVersionValue())) {
// if 1.0 then check the isBodyAllowed because the scenario of 1.0
// servers dumping bodies and closing the socket without any body
// indicator throws this logic off
... | java | @Override
public boolean isBodyExpected() {
if (VersionValues.V10.equals(getVersionValue())) {
// if 1.0 then check the isBodyAllowed because the scenario of 1.0
// servers dumping bodies and closing the socket without any body
// indicator throws this logic off
... | [
"@",
"Override",
"public",
"boolean",
"isBodyExpected",
"(",
")",
"{",
"if",
"(",
"VersionValues",
".",
"V10",
".",
"equals",
"(",
"getVersionValue",
"(",
")",
")",
")",
"{",
"// if 1.0 then check the isBodyAllowed because the scenario of 1.0",
"// servers dumping bodie... | Query whether a body is expected to be present with this message. Note
that this is only an expectation and not a definitive answer. This will
check the necessary headers, status codes, etc, to see if any indicate
a body should be present. Without actually reading for a body, this
cannot be sure however.
@return boole... | [
"Query",
"whether",
"a",
"body",
"is",
"expected",
"to",
"be",
"present",
"with",
"this",
"message",
".",
"Note",
"that",
"this",
"is",
"only",
"an",
"expectation",
"and",
"not",
"a",
"definitive",
"answer",
".",
"This",
"will",
"check",
"the",
"necessary"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java#L213-L242 |
110,907 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java | HttpResponseMessageImpl.isBodyAllowed | @Override
public boolean isBodyAllowed() {
if (super.isBodyAllowed()) {
// sending a body with the response is not valid for a HEAD request
if (getServiceContext().getRequestMethod().equals(MethodValues.HEAD)) {
return false;
}
// if that wo... | java | @Override
public boolean isBodyAllowed() {
if (super.isBodyAllowed()) {
// sending a body with the response is not valid for a HEAD request
if (getServiceContext().getRequestMethod().equals(MethodValues.HEAD)) {
return false;
}
// if that wo... | [
"@",
"Override",
"public",
"boolean",
"isBodyAllowed",
"(",
")",
"{",
"if",
"(",
"super",
".",
"isBodyAllowed",
"(",
")",
")",
"{",
"// sending a body with the response is not valid for a HEAD request",
"if",
"(",
"getServiceContext",
"(",
")",
".",
"getRequestMethod"... | Query whether or not a body is allowed to be present for this
message. This is not whether a body is present, but rather only
whether it is allowed to be present.
@return boolean (true if allowed) | [
"Query",
"whether",
"or",
"not",
"a",
"body",
"is",
"allowed",
"to",
"be",
"present",
"for",
"this",
"message",
".",
"This",
"is",
"not",
"whether",
"a",
"body",
"is",
"present",
"but",
"rather",
"only",
"whether",
"it",
"is",
"allowed",
"to",
"be",
"p... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java#L251-L267 |
110,908 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java | HttpResponseMessageImpl.clear | @Override
public void clear() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
Tr.event(tc, "Clearing this response: " + this);
}
super.clear();
this.myStatusCode = StatusCodes.OK;
this.myReason = null;
this.myReasonBytes = null;
} | java | @Override
public void clear() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
Tr.event(tc, "Clearing this response: " + this);
}
super.clear();
this.myStatusCode = StatusCodes.OK;
this.myReason = null;
this.myReasonBytes = null;
} | [
"@",
"Override",
"public",
"void",
"clear",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEventEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"event",
"(",
"tc",
",",
"\"Clearing this response: \"",
"+",
... | Clear this message for re-use. | [
"Clear",
"this",
"message",
"for",
"re",
"-",
"use",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java#L286-L295 |
110,909 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java | HttpResponseMessageImpl.destroy | @Override
public void destroy() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
Tr.event(tc, "Destroying this response: " + this);
}
HttpObjectFactory tempFactory = getObjectFactory();
super.destroy();
if (null != tempFactory) {
te... | java | @Override
public void destroy() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
Tr.event(tc, "Destroying this response: " + this);
}
HttpObjectFactory tempFactory = getObjectFactory();
super.destroy();
if (null != tempFactory) {
te... | [
"@",
"Override",
"public",
"void",
"destroy",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEventEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"event",
"(",
"tc",
",",
"\"Destroying this response: \"",
"+"... | Destroy this response and return it to the factory. | [
"Destroy",
"this",
"response",
"and",
"return",
"it",
"to",
"the",
"factory",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java#L300-L310 |
110,910 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java | HttpResponseMessageImpl.parseBinaryFirstLine | @Override
public boolean parseBinaryFirstLine(WsByteBuffer buff) throws MalformedMessageException {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "parseBinaryFirstLine for " + this);
Tr.debug(tc, "Buffer: " + buff);
}
// check the ver... | java | @Override
public boolean parseBinaryFirstLine(WsByteBuffer buff) throws MalformedMessageException {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "parseBinaryFirstLine for " + this);
Tr.debug(tc, "Buffer: " + buff);
}
// check the ver... | [
"@",
"Override",
"public",
"boolean",
"parseBinaryFirstLine",
"(",
"WsByteBuffer",
"buff",
")",
"throws",
"MalformedMessageException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
... | Begin parsing line out from a given buffer. Returns boolean
as to whether it has found the end of the first line.
@param buff
@return boolean
@throws MalformedMessageException | [
"Begin",
"parsing",
"line",
"out",
"from",
"a",
"given",
"buffer",
".",
"Returns",
"boolean",
"as",
"to",
"whether",
"it",
"has",
"found",
"the",
"end",
"of",
"the",
"first",
"line",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java#L433-L520 |
110,911 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java | HttpResponseMessageImpl.marshallBinaryFirstLine | @Override
public WsByteBuffer[] marshallBinaryFirstLine() {
WsByteBuffer[] firstLine = new WsByteBuffer[1];
firstLine[0] = allocateBuffer(getOutgoingBufferSize());
// prepend the binary protocol version first
firstLine = putByte(HttpInternalConstants.BINARY_TRANSPORT_V1, firstLine);... | java | @Override
public WsByteBuffer[] marshallBinaryFirstLine() {
WsByteBuffer[] firstLine = new WsByteBuffer[1];
firstLine[0] = allocateBuffer(getOutgoingBufferSize());
// prepend the binary protocol version first
firstLine = putByte(HttpInternalConstants.BINARY_TRANSPORT_V1, firstLine);... | [
"@",
"Override",
"public",
"WsByteBuffer",
"[",
"]",
"marshallBinaryFirstLine",
"(",
")",
"{",
"WsByteBuffer",
"[",
"]",
"firstLine",
"=",
"new",
"WsByteBuffer",
"[",
"1",
"]",
";",
"firstLine",
"[",
"0",
"]",
"=",
"allocateBuffer",
"(",
"getOutgoingBufferSize... | Called for marshalling the first line of binary HTTP responses.
@return WsByteBuffer[] | [
"Called",
"for",
"marshalling",
"the",
"first",
"line",
"of",
"binary",
"HTTP",
"responses",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java#L604-L637 |
110,912 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java | HttpResponseMessageImpl.parsingComplete | @Override
protected void parsingComplete() throws MalformedMessageException {
// HTTP-Version SP Status-Code SP Reason-Phrase CRLF
// PK20069: reason-phrase is 0 or more characters
int num = getNumberFirstLineTokens();
if (3 != num && 2 != num) {
if (tc.isDebugEnabled()... | java | @Override
protected void parsingComplete() throws MalformedMessageException {
// HTTP-Version SP Status-Code SP Reason-Phrase CRLF
// PK20069: reason-phrase is 0 or more characters
int num = getNumberFirstLineTokens();
if (3 != num && 2 != num) {
if (tc.isDebugEnabled()... | [
"@",
"Override",
"protected",
"void",
"parsingComplete",
"(",
")",
"throws",
"MalformedMessageException",
"{",
"// HTTP-Version SP Status-Code SP Reason-Phrase CRLF",
"// PK20069: reason-phrase is 0 or more characters",
"int",
"num",
"=",
"getNumberFirstLineTokens",
"(",
")",
";"... | Called the parsing of the first line is complete. Performs checks
on whether all the necessary data has been found.
@throws MalformedMessageException | [
"Called",
"the",
"parsing",
"of",
"the",
"first",
"line",
"is",
"complete",
".",
"Performs",
"checks",
"on",
"whether",
"all",
"the",
"necessary",
"data",
"has",
"been",
"found",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java#L645-L661 |
110,913 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java | HttpResponseMessageImpl.setStatusCode | @Override
public void setStatusCode(StatusCodes code) {
if (!code.equals(this.myStatusCode)) {
this.myStatusCode = code;
// no matter what, empty out the reason phrase information so that it
// will default to match this new status code
this.myReason = null;
... | java | @Override
public void setStatusCode(StatusCodes code) {
if (!code.equals(this.myStatusCode)) {
this.myStatusCode = code;
// no matter what, empty out the reason phrase information so that it
// will default to match this new status code
this.myReason = null;
... | [
"@",
"Override",
"public",
"void",
"setStatusCode",
"(",
"StatusCodes",
"code",
")",
"{",
"if",
"(",
"!",
"code",
".",
"equals",
"(",
"this",
".",
"myStatusCode",
")",
")",
"{",
"this",
".",
"myStatusCode",
"=",
"code",
";",
"// no matter what, empty out the... | Set the status code of the response message.
@param code | [
"Set",
"the",
"status",
"code",
"of",
"the",
"response",
"message",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java#L820-L834 |
110,914 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java | HttpResponseMessageImpl.isTemporaryStatusCode | public boolean isTemporaryStatusCode() {
int code = this.myStatusCode.getIntCode();
//We need to check if the WebContainer spec level is greater than 3.0
//If it is then we don't want to treat the 101 status code as a temp
//one as it changes our behavior
if (HttpDispatcher.useEE... | java | public boolean isTemporaryStatusCode() {
int code = this.myStatusCode.getIntCode();
//We need to check if the WebContainer spec level is greater than 3.0
//If it is then we don't want to treat the 101 status code as a temp
//one as it changes our behavior
if (HttpDispatcher.useEE... | [
"public",
"boolean",
"isTemporaryStatusCode",
"(",
")",
"{",
"int",
"code",
"=",
"this",
".",
"myStatusCode",
".",
"getIntCode",
"(",
")",
";",
"//We need to check if the WebContainer spec level is greater than 3.0",
"//If it is then we don't want to treat the 101 status code as ... | Query whether this response message's status code represents a temporary
status of 1xx.
@return boolean | [
"Query",
"whether",
"this",
"response",
"message",
"s",
"status",
"code",
"represents",
"a",
"temporary",
"status",
"of",
"1xx",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java#L842-L850 |
110,915 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java | HttpResponseMessageImpl.getReasonPhrase | @Override
public String getReasonPhrase() {
if (null == this.myReason) {
this.myReason = GenericUtils.getEnglishString(getReasonPhraseBytes());
}
return this.myReason;
} | java | @Override
public String getReasonPhrase() {
if (null == this.myReason) {
this.myReason = GenericUtils.getEnglishString(getReasonPhraseBytes());
}
return this.myReason;
} | [
"@",
"Override",
"public",
"String",
"getReasonPhrase",
"(",
")",
"{",
"if",
"(",
"null",
"==",
"this",
".",
"myReason",
")",
"{",
"this",
".",
"myReason",
"=",
"GenericUtils",
".",
"getEnglishString",
"(",
"getReasonPhraseBytes",
"(",
")",
")",
";",
"}",
... | Query the value of the reason phrase.
@return String | [
"Query",
"the",
"value",
"of",
"the",
"reason",
"phrase",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java#L857-L863 |
110,916 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java | HttpResponseMessageImpl.debug | @Override
public void debug() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Response Message: " + this);
Tr.debug(tc, "Status: " + getStatusCodeAsInt());
Tr.debug(tc, "Reason: " + getReasonPhrase());
super.debug();
... | java | @Override
public void debug() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Response Message: " + this);
Tr.debug(tc, "Status: " + getStatusCodeAsInt());
Tr.debug(tc, "Reason: " + getReasonPhrase());
super.debug();
... | [
"@",
"Override",
"public",
"void",
"debug",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"Response Message: \"",
"+",
"this"... | Debug print this response message to the RAS trace log. | [
"Debug",
"print",
"this",
"response",
"message",
"to",
"the",
"RAS",
"trace",
"log",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/HttpResponseMessageImpl.java#L1037-L1045 |
110,917 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/security/csiv2/config/tss/TSSUnknownASMechConfig.java | TSSUnknownASMechConfig.encodeIOR | @Override
public AS_ContextSec encodeIOR(Codec codec) throws Exception {
AS_ContextSec result = new AS_ContextSec();
result.target_supports = 0;
result.target_requires = 0;
result.client_authentication_mech = Util.encodeOID(NULL_OID);
result.target_name = Util.encodeGSSExpor... | java | @Override
public AS_ContextSec encodeIOR(Codec codec) throws Exception {
AS_ContextSec result = new AS_ContextSec();
result.target_supports = 0;
result.target_requires = 0;
result.client_authentication_mech = Util.encodeOID(NULL_OID);
result.target_name = Util.encodeGSSExpor... | [
"@",
"Override",
"public",
"AS_ContextSec",
"encodeIOR",
"(",
"Codec",
"codec",
")",
"throws",
"Exception",
"{",
"AS_ContextSec",
"result",
"=",
"new",
"AS_ContextSec",
"(",
")",
";",
"result",
".",
"target_supports",
"=",
"0",
";",
"result",
".",
"target_requ... | This method should not be invoked, but just in case that is not the case,
return null OID.
@param orb
@param codec
@return
@throws Exception | [
"This",
"method",
"should",
"not",
"be",
"invoked",
"but",
"just",
"in",
"case",
"that",
"is",
"not",
"the",
"case",
"return",
"null",
"OID",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.csiv2.common/src/com/ibm/ws/security/csiv2/config/tss/TSSUnknownASMechConfig.java#L60-L70 |
110,918 | OpenLiberty/open-liberty | dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ManagedExecutorServiceImpl.java | ManagedExecutorServiceImpl.createCallbacks | @SuppressWarnings("unchecked")
private <T> Entry<Collection<? extends Callable<T>>, TaskLifeCycleCallback[]> createCallbacks(Collection<? extends Callable<T>> tasks) {
int numTasks = tasks.size();
TaskLifeCycleCallback[] callbacks = new TaskLifeCycleCallback[numTasks];
List<Callable<T>> task... | java | @SuppressWarnings("unchecked")
private <T> Entry<Collection<? extends Callable<T>>, TaskLifeCycleCallback[]> createCallbacks(Collection<? extends Callable<T>> tasks) {
int numTasks = tasks.size();
TaskLifeCycleCallback[] callbacks = new TaskLifeCycleCallback[numTasks];
List<Callable<T>> task... | [
"@",
"SuppressWarnings",
"(",
"\"unchecked\"",
")",
"private",
"<",
"T",
">",
"Entry",
"<",
"Collection",
"<",
"?",
"extends",
"Callable",
"<",
"T",
">",
">",
",",
"TaskLifeCycleCallback",
"[",
"]",
">",
"createCallbacks",
"(",
"Collection",
"<",
"?",
"ext... | Capture context for a list of tasks and create callbacks that apply context and notify the ManagedTaskListener, if any.
Context is not re-captured for any tasks that implement the ContextualAction marker interface.
@param tasks collection of tasks.
@return entry consisting of a possibly modified copy of the task list ... | [
"Capture",
"context",
"for",
"a",
"list",
"of",
"tasks",
"and",
"create",
"callbacks",
"that",
"apply",
"context",
"and",
"notify",
"the",
"ManagedTaskListener",
"if",
"any",
".",
"Context",
"is",
"not",
"re",
"-",
"captured",
"for",
"any",
"tasks",
"that",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ManagedExecutorServiceImpl.java#L276-L320 |
110,919 | OpenLiberty/open-liberty | dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ManagedExecutorServiceImpl.java | ManagedExecutorServiceImpl.getExecutionProperties | final Map<String, String> getExecutionProperties(Object task) {
if (task == null) // NullPointerException is required per the JavaDoc API
throw new NullPointerException(Tr.formatMessage(tc, "CWWKC1111.task.invalid", (Object) null));
Map<String, String> execProps = task instanceof ManagedTas... | java | final Map<String, String> getExecutionProperties(Object task) {
if (task == null) // NullPointerException is required per the JavaDoc API
throw new NullPointerException(Tr.formatMessage(tc, "CWWKC1111.task.invalid", (Object) null));
Map<String, String> execProps = task instanceof ManagedTas... | [
"final",
"Map",
"<",
"String",
",",
"String",
">",
"getExecutionProperties",
"(",
"Object",
"task",
")",
"{",
"if",
"(",
"task",
"==",
"null",
")",
"// NullPointerException is required per the JavaDoc API",
"throw",
"new",
"NullPointerException",
"(",
"Tr",
".",
"... | Returns execution properties for the task.
@param task the task being submitted for execution.
@return execution properties for the task. | [
"Returns",
"execution",
"properties",
"for",
"the",
"task",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ManagedExecutorServiceImpl.java#L367-L385 |
110,920 | OpenLiberty/open-liberty | dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ManagedExecutorServiceImpl.java | ManagedExecutorServiceImpl.getIdentifier | @Trivial
final String getIdentifier(String policyExecutorIdentifier) {
return policyExecutorIdentifier.startsWith("managed") //
? policyExecutorIdentifier //
: new StringBuilder(name.get()).append(" (").append(policyExecutorIdentifier).append(')').toString();
... | java | @Trivial
final String getIdentifier(String policyExecutorIdentifier) {
return policyExecutorIdentifier.startsWith("managed") //
? policyExecutorIdentifier //
: new StringBuilder(name.get()).append(" (").append(policyExecutorIdentifier).append(')').toString();
... | [
"@",
"Trivial",
"final",
"String",
"getIdentifier",
"(",
"String",
"policyExecutorIdentifier",
")",
"{",
"return",
"policyExecutorIdentifier",
".",
"startsWith",
"(",
"\"managed\"",
")",
"//",
"?",
"policyExecutorIdentifier",
"//",
":",
"new",
"StringBuilder",
"(",
... | Utility method to compute the identifier to be used in combination with the specified policy executor identifier.
We prepend the managed executor name if it isn't already included in the policy executor's identifier.
@param policyExecutorIdentifier unique identifier for the policy executor. Some examples:
concurrencyP... | [
"Utility",
"method",
"to",
"compute",
"the",
"identifier",
"to",
"be",
"used",
"in",
"combination",
"with",
"the",
"specified",
"policy",
"executor",
"identifier",
".",
"We",
"prepend",
"the",
"managed",
"executor",
"name",
"if",
"it",
"isn",
"t",
"already",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ManagedExecutorServiceImpl.java#L396-L401 |
110,921 | OpenLiberty/open-liberty | dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ManagedExecutorServiceImpl.java | ManagedExecutorServiceImpl.setConcurrencyPolicy | @Reference(policy = ReferencePolicy.DYNAMIC, target = "(id=unbound)")
protected void setConcurrencyPolicy(ConcurrencyPolicy svc) {
policyExecutor = svc.getExecutor();
} | java | @Reference(policy = ReferencePolicy.DYNAMIC, target = "(id=unbound)")
protected void setConcurrencyPolicy(ConcurrencyPolicy svc) {
policyExecutor = svc.getExecutor();
} | [
"@",
"Reference",
"(",
"policy",
"=",
"ReferencePolicy",
".",
"DYNAMIC",
",",
"target",
"=",
"\"(id=unbound)\"",
")",
"protected",
"void",
"setConcurrencyPolicy",
"(",
"ConcurrencyPolicy",
"svc",
")",
"{",
"policyExecutor",
"=",
"svc",
".",
"getExecutor",
"(",
"... | Declarative Services method for setting the concurrency policy.
@param svc the service | [
"Declarative",
"Services",
"method",
"for",
"setting",
"the",
"concurrency",
"policy",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ManagedExecutorServiceImpl.java#L471-L474 |
110,922 | OpenLiberty/open-liberty | dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ManagedExecutorServiceImpl.java | ManagedExecutorServiceImpl.setLongRunningPolicy | @Reference(policy = ReferencePolicy.DYNAMIC, cardinality = ReferenceCardinality.OPTIONAL, target = "(id=unbound)")
protected void setLongRunningPolicy(ConcurrencyPolicy svc) {
longRunningPolicyExecutorRef.set(svc.getExecutor());
} | java | @Reference(policy = ReferencePolicy.DYNAMIC, cardinality = ReferenceCardinality.OPTIONAL, target = "(id=unbound)")
protected void setLongRunningPolicy(ConcurrencyPolicy svc) {
longRunningPolicyExecutorRef.set(svc.getExecutor());
} | [
"@",
"Reference",
"(",
"policy",
"=",
"ReferencePolicy",
".",
"DYNAMIC",
",",
"cardinality",
"=",
"ReferenceCardinality",
".",
"OPTIONAL",
",",
"target",
"=",
"\"(id=unbound)\"",
")",
"protected",
"void",
"setLongRunningPolicy",
"(",
"ConcurrencyPolicy",
"svc",
")",... | Declarative Services method for setting the long running concurrency policy.
@param svc the service | [
"Declarative",
"Services",
"method",
"for",
"setting",
"the",
"long",
"running",
"concurrency",
"policy",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ManagedExecutorServiceImpl.java#L491-L494 |
110,923 | OpenLiberty/open-liberty | dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ManagedExecutorServiceImpl.java | ManagedExecutorServiceImpl.suspendTransaction | ThreadContext suspendTransaction() {
ThreadContextProvider tranContextProvider = AccessController.doPrivileged(tranContextProviderAccessor);
ThreadContext suspendedTranSnapshot = tranContextProvider == null ? null : tranContextProvider.captureThreadContext(XPROPS_SUSPEND_TRAN, null);
if (suspend... | java | ThreadContext suspendTransaction() {
ThreadContextProvider tranContextProvider = AccessController.doPrivileged(tranContextProviderAccessor);
ThreadContext suspendedTranSnapshot = tranContextProvider == null ? null : tranContextProvider.captureThreadContext(XPROPS_SUSPEND_TRAN, null);
if (suspend... | [
"ThreadContext",
"suspendTransaction",
"(",
")",
"{",
"ThreadContextProvider",
"tranContextProvider",
"=",
"AccessController",
".",
"doPrivileged",
"(",
"tranContextProviderAccessor",
")",
";",
"ThreadContext",
"suspendedTranSnapshot",
"=",
"tranContextProvider",
"==",
"null"... | Uses the transaction context provider to suspends the currently active transaction or LTC on the thread.
@return ThreadContext instance that must be used to restore the suspended transaction context if returned.
Null if transaction context is unavailable. | [
"Uses",
"the",
"transaction",
"context",
"provider",
"to",
"suspends",
"the",
"currently",
"active",
"transaction",
"or",
"LTC",
"on",
"the",
"thread",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.concurrent/src/com/ibm/ws/concurrent/internal/ManagedExecutorServiceImpl.java#L574-L580 |
110,924 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaListener.java | SibRaListener.stop | final void stop() {
final String methodName = "stop";
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, methodName);
}
try {
// Make sure we have a session and that it hasn't already been stopped
// If an... | java | final void stop() {
final String methodName = "stop";
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, methodName);
}
try {
// Make sure we have a session and that it hasn't already been stopped
// If an... | [
"final",
"void",
"stop",
"(",
")",
"{",
"final",
"String",
"methodName",
"=",
"\"stop\"",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"TRACE",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"this"... | Stop this listener. Stops the consumer session. | [
"Stop",
"this",
"listener",
".",
"Stops",
"the",
"consumer",
"session",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaListener.java#L802-L848 |
110,925 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaListener.java | SibRaListener.consumeMessages | @Override
public synchronized void consumeMessages(final LockedMessageEnumeration lockedMessages) {
final String methodName = "consumeMessages";
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, methodName, lockedMessages);
}
... | java | @Override
public synchronized void consumeMessages(final LockedMessageEnumeration lockedMessages) {
final String methodName = "consumeMessages";
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, methodName, lockedMessages);
}
... | [
"@",
"Override",
"public",
"synchronized",
"void",
"consumeMessages",
"(",
"final",
"LockedMessageEnumeration",
"lockedMessages",
")",
"{",
"final",
"String",
"methodName",
"=",
"\"consumeMessages\"",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
... | Invoked by the message processor with an enumeration containing one or
more messages locked to this consumer. Retrieves the messages from the
enumeration. Schedules a piece of work that will create the dispatcher on
a new thread.
@param lockedMessages
the enumeration of locked messages | [
"Invoked",
"by",
"the",
"message",
"processor",
"with",
"an",
"enumeration",
"containing",
"one",
"or",
"more",
"messages",
"locked",
"to",
"this",
"consumer",
".",
"Retrieves",
"the",
"messages",
"from",
"the",
"enumeration",
".",
"Schedules",
"a",
"piece",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaListener.java#L876-L963 |
110,926 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaListener.java | SibRaListener.getMessageHandles | static SIMessageHandle[] getMessageHandles(final List messages) {
final SIMessageHandle[] messageHandles = new SIMessageHandle[messages
.size()];
for (int i = 0; i < messageHandles.length; i++) {
final SIBusMessage message = (SIBusMessage) messages.get(i);
... | java | static SIMessageHandle[] getMessageHandles(final List messages) {
final SIMessageHandle[] messageHandles = new SIMessageHandle[messages
.size()];
for (int i = 0; i < messageHandles.length; i++) {
final SIBusMessage message = (SIBusMessage) messages.get(i);
... | [
"static",
"SIMessageHandle",
"[",
"]",
"getMessageHandles",
"(",
"final",
"List",
"messages",
")",
"{",
"final",
"SIMessageHandle",
"[",
"]",
"messageHandles",
"=",
"new",
"SIMessageHandle",
"[",
"messages",
".",
"size",
"(",
")",
"]",
";",
"for",
"(",
"int"... | Converts a list of messages to an array of message handles.
@param messages
the messages
@return the array of message handles | [
"Converts",
"a",
"list",
"of",
"messages",
"to",
"an",
"array",
"of",
"message",
"handles",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaListener.java#L996-L1006 |
110,927 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaListener.java | SibRaListener.startSession | protected void startSession(boolean deliverImmediately) throws SIException
{
final String methodName = "startSession";
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, methodName, new Object[] { this, new Boolean(deliverImmediately) });
... | java | protected void startSession(boolean deliverImmediately) throws SIException
{
final String methodName = "startSession";
if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, methodName, new Object[] { this, new Boolean(deliverImmediately) });
... | [
"protected",
"void",
"startSession",
"(",
"boolean",
"deliverImmediately",
")",
"throws",
"SIException",
"{",
"final",
"String",
"methodName",
"=",
"\"startSession\"",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"TRACE",
".",
"isE... | Request that the session starts. This will only occur if both SIB pacing AND MPC
pacing agree that the session should start.
@param deliverImmediately is true if a message consumer can call consumeMessages() before
start() has returned
@throws SIException | [
"Request",
"that",
"the",
"session",
"starts",
".",
"This",
"will",
"only",
"occur",
"if",
"both",
"SIB",
"pacing",
"AND",
"MPC",
"pacing",
"agree",
"that",
"the",
"session",
"should",
"start",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/ra/inbound/impl/SibRaListener.java#L1136-L1201 |
110,928 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/WCCMMetaData.java | WCCMMetaData.dump | public String dump() //d481127.11
{
StringBuilder sb = new StringBuilder();
String newLine = ContainerProperties.LineSeparator;
sb.append(newLine).append("-- WCCMMetaData dump --");
sb.append(newLine).append("enterpriseBean = ").append(enterpriseBean);
dump(sb);
sb.ap... | java | public String dump() //d481127.11
{
StringBuilder sb = new StringBuilder();
String newLine = ContainerProperties.LineSeparator;
sb.append(newLine).append("-- WCCMMetaData dump --");
sb.append(newLine).append("enterpriseBean = ").append(enterpriseBean);
dump(sb);
sb.ap... | [
"public",
"String",
"dump",
"(",
")",
"//d481127.11",
"{",
"StringBuilder",
"sb",
"=",
"new",
"StringBuilder",
"(",
")",
";",
"String",
"newLine",
"=",
"ContainerProperties",
".",
"LineSeparator",
";",
"sb",
".",
"append",
"(",
"newLine",
")",
".",
"append",... | Dump contents of this object into a String object
that is typically used for tracing.
@return dump of this object as a String. | [
"Dump",
"contents",
"of",
"this",
"object",
"into",
"a",
"String",
"object",
"that",
"is",
"typically",
"used",
"for",
"tracing",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/WCCMMetaData.java#L133-L143 |
110,929 | OpenLiberty/open-liberty | dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ChecksumsManager.java | ChecksumsManager.updateChecksums | public void updateChecksums() {
for (Entry<File, ChecksumData> entry : checksumsMap.entrySet()) {
updateChecksums(entry.getKey(), entry.getValue());
}
} | java | public void updateChecksums() {
for (Entry<File, ChecksumData> entry : checksumsMap.entrySet()) {
updateChecksums(entry.getKey(), entry.getValue());
}
} | [
"public",
"void",
"updateChecksums",
"(",
")",
"{",
"for",
"(",
"Entry",
"<",
"File",
",",
"ChecksumData",
">",
"entry",
":",
"checksumsMap",
".",
"entrySet",
"(",
")",
")",
"{",
"updateChecksums",
"(",
"entry",
".",
"getKey",
"(",
")",
",",
"entry",
"... | Updates the checkSumsMap for all entries. | [
"Updates",
"the",
"checkSumsMap",
"for",
"all",
"entries",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ChecksumsManager.java#L88-L92 |
110,930 | OpenLiberty/open-liberty | dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ChecksumsManager.java | ChecksumsManager.updateChecksums | public void updateChecksums(File featureDir, ChecksumData checksumData) {
Collection<File> csFiles = new ArrayList<File>();
File featureChecksumsDir = new File(featureDir, "checksums");
getCheckSumFiles(featureChecksumsDir, csFiles);
File libFeaturesChecksumsDir = new File(Utils.getInst... | java | public void updateChecksums(File featureDir, ChecksumData checksumData) {
Collection<File> csFiles = new ArrayList<File>();
File featureChecksumsDir = new File(featureDir, "checksums");
getCheckSumFiles(featureChecksumsDir, csFiles);
File libFeaturesChecksumsDir = new File(Utils.getInst... | [
"public",
"void",
"updateChecksums",
"(",
"File",
"featureDir",
",",
"ChecksumData",
"checksumData",
")",
"{",
"Collection",
"<",
"File",
">",
"csFiles",
"=",
"new",
"ArrayList",
"<",
"File",
">",
"(",
")",
";",
"File",
"featureChecksumsDir",
"=",
"new",
"Fi... | Updates the check sum for a specific feature directory.
@param featureDir the directory of the feature
@param checksumData the new checksum of the feature | [
"Updates",
"the",
"check",
"sum",
"for",
"a",
"specific",
"feature",
"directory",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ChecksumsManager.java#L117-L173 |
110,931 | OpenLiberty/open-liberty | dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ChecksumsManager.java | ChecksumsManager.initChecksumProps | private Properties initChecksumProps(Map<String, Set<String>> useOldChecksums) {
Properties checksumProps = new Properties();
for (Set<String> set : useOldChecksums.values()) {
for (String s : set) {
checksumProps.put(s, "");
}
}
return checksumPro... | java | private Properties initChecksumProps(Map<String, Set<String>> useOldChecksums) {
Properties checksumProps = new Properties();
for (Set<String> set : useOldChecksums.values()) {
for (String s : set) {
checksumProps.put(s, "");
}
}
return checksumPro... | [
"private",
"Properties",
"initChecksumProps",
"(",
"Map",
"<",
"String",
",",
"Set",
"<",
"String",
">",
">",
"useOldChecksums",
")",
"{",
"Properties",
"checksumProps",
"=",
"new",
"Properties",
"(",
")",
";",
"for",
"(",
"Set",
"<",
"String",
">",
"set",... | Populates a new property file with the inputed checksum map and empty strings.
@param useOldChecksums a map of the old checksums
@return a new Properties object containing the old checksums as keys and "" as value | [
"Populates",
"a",
"new",
"property",
"file",
"with",
"the",
"inputed",
"checksum",
"map",
"and",
"empty",
"strings",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ChecksumsManager.java#L181-L189 |
110,932 | OpenLiberty/open-liberty | dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ChecksumsManager.java | ChecksumsManager.loadChecksumFile | public static Properties loadChecksumFile(File csFile) {
InputStream csis = null;
Properties csprops = new Properties();
try {
csis = new FileInputStream(csFile);
csprops.load(csis);
} catch (IOException e) {
logger.log(Level.FINEST, "Failed to load th... | java | public static Properties loadChecksumFile(File csFile) {
InputStream csis = null;
Properties csprops = new Properties();
try {
csis = new FileInputStream(csFile);
csprops.load(csis);
} catch (IOException e) {
logger.log(Level.FINEST, "Failed to load th... | [
"public",
"static",
"Properties",
"loadChecksumFile",
"(",
"File",
"csFile",
")",
"{",
"InputStream",
"csis",
"=",
"null",
";",
"Properties",
"csprops",
"=",
"new",
"Properties",
"(",
")",
";",
"try",
"{",
"csis",
"=",
"new",
"FileInputStream",
"(",
"csFile"... | Loads the checksum file into a properties object
@param csFile the checksum File
@return a new Properties object with the checksum data | [
"Loads",
"the",
"checksum",
"file",
"into",
"a",
"properties",
"object"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ChecksumsManager.java#L197-L209 |
110,933 | OpenLiberty/open-liberty | dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ChecksumsManager.java | ChecksumsManager.saveChecksumFile | public static void saveChecksumFile(File csFile, Properties csprops, String reason) {
FileOutputStream fOut = null;
try {
fOut = new FileOutputStream(csFile);
csprops.store(fOut, null);
logger.log(Level.FINEST, "Successfully updated the checksum file " + csFile.getAbs... | java | public static void saveChecksumFile(File csFile, Properties csprops, String reason) {
FileOutputStream fOut = null;
try {
fOut = new FileOutputStream(csFile);
csprops.store(fOut, null);
logger.log(Level.FINEST, "Successfully updated the checksum file " + csFile.getAbs... | [
"public",
"static",
"void",
"saveChecksumFile",
"(",
"File",
"csFile",
",",
"Properties",
"csprops",
",",
"String",
"reason",
")",
"{",
"FileOutputStream",
"fOut",
"=",
"null",
";",
"try",
"{",
"fOut",
"=",
"new",
"FileOutputStream",
"(",
"csFile",
")",
";",... | Saves the checksum properties to csFile.
@param csFile Output file
@param csprops Checksum properties file
@param reason the reason for saving the checksum file | [
"Saves",
"the",
"checksum",
"properties",
"to",
"csFile",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ChecksumsManager.java#L218-L229 |
110,934 | OpenLiberty/open-liberty | dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ChecksumsManager.java | ChecksumsManager.registerNewChecksums | public void registerNewChecksums(File featureDir, String fileName, String checksum) {
ChecksumData checksums = checksumsMap.get(featureDir);
if (checksums == null) {
checksums = new ChecksumData();
checksumsMap.put(featureDir, checksums);
}
checksums.registerNewCh... | java | public void registerNewChecksums(File featureDir, String fileName, String checksum) {
ChecksumData checksums = checksumsMap.get(featureDir);
if (checksums == null) {
checksums = new ChecksumData();
checksumsMap.put(featureDir, checksums);
}
checksums.registerNewCh... | [
"public",
"void",
"registerNewChecksums",
"(",
"File",
"featureDir",
",",
"String",
"fileName",
",",
"String",
"checksum",
")",
"{",
"ChecksumData",
"checksums",
"=",
"checksumsMap",
".",
"get",
"(",
"featureDir",
")",
";",
"if",
"(",
"checksums",
"==",
"null"... | Registers a new feature directory's new checksum
@param featureDir the feature directory
@param fileName the filename for the checksum
@param checksum the checksum as a String | [
"Registers",
"a",
"new",
"feature",
"directory",
"s",
"new",
"checksum"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ChecksumsManager.java#L238-L245 |
110,935 | OpenLiberty/open-liberty | dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ChecksumsManager.java | ChecksumsManager.registerExistingChecksums | public void registerExistingChecksums(File featureDir, String symbolicName, String fileName) {
ChecksumData checksums = checksumsMap.get(featureDir);
if (checksums == null) {
checksums = new ChecksumData();
checksumsMap.put(featureDir, checksums);
}
checksums.regi... | java | public void registerExistingChecksums(File featureDir, String symbolicName, String fileName) {
ChecksumData checksums = checksumsMap.get(featureDir);
if (checksums == null) {
checksums = new ChecksumData();
checksumsMap.put(featureDir, checksums);
}
checksums.regi... | [
"public",
"void",
"registerExistingChecksums",
"(",
"File",
"featureDir",
",",
"String",
"symbolicName",
",",
"String",
"fileName",
")",
"{",
"ChecksumData",
"checksums",
"=",
"checksumsMap",
".",
"get",
"(",
"featureDir",
")",
";",
"if",
"(",
"checksums",
"==",... | Registers an existing feature directory's checksum
@param featureDir the feature directory
@param symbolicName the symbolic name for the file
@param fileName the actual file name | [
"Registers",
"an",
"existing",
"feature",
"directory",
"s",
"checksum"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.install/src/com/ibm/ws/install/internal/ChecksumsManager.java#L254-L261 |
110,936 | OpenLiberty/open-liberty | dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/services/impl/MemoryPersistenceManagerImpl.java | MemoryPersistenceManagerImpl.getStepExecutionTopLevelFromJobExecutionIdAndStepName | private TopLevelStepExecutionEntity getStepExecutionTopLevelFromJobExecutionIdAndStepName(long jobExecutionId, String stepName) {
JobExecutionEntity jobExecution = data.executionInstanceData.get(jobExecutionId);
// Copy list to avoid ConcurrentModificationException
for (StepThreadExecutionEntity... | java | private TopLevelStepExecutionEntity getStepExecutionTopLevelFromJobExecutionIdAndStepName(long jobExecutionId, String stepName) {
JobExecutionEntity jobExecution = data.executionInstanceData.get(jobExecutionId);
// Copy list to avoid ConcurrentModificationException
for (StepThreadExecutionEntity... | [
"private",
"TopLevelStepExecutionEntity",
"getStepExecutionTopLevelFromJobExecutionIdAndStepName",
"(",
"long",
"jobExecutionId",
",",
"String",
"stepName",
")",
"{",
"JobExecutionEntity",
"jobExecution",
"=",
"data",
".",
"executionInstanceData",
".",
"get",
"(",
"jobExecuti... | Not well-suited to factor out into an interface method since for JPA it's embedded in a tran typically | [
"Not",
"well",
"-",
"suited",
"to",
"factor",
"out",
"into",
"an",
"interface",
"method",
"since",
"for",
"JPA",
"it",
"s",
"embedded",
"in",
"a",
"tran",
"typically"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/services/impl/MemoryPersistenceManagerImpl.java#L791-L803 |
110,937 | OpenLiberty/open-liberty | dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/services/impl/MemoryPersistenceManagerImpl.java | MemoryPersistenceManagerImpl.deleteStepThreadInstanceOfRelatedPartitions | @Override
public void deleteStepThreadInstanceOfRelatedPartitions(TopLevelStepInstanceKey stepInstanceKey) {
long compareInstanceId = stepInstanceKey.getJobInstance();
for (StepThreadInstanceEntity stepThreadInstance : data.stepThreadInstanceData.values()) {
if ((stepThreadInstance.get... | java | @Override
public void deleteStepThreadInstanceOfRelatedPartitions(TopLevelStepInstanceKey stepInstanceKey) {
long compareInstanceId = stepInstanceKey.getJobInstance();
for (StepThreadInstanceEntity stepThreadInstance : data.stepThreadInstanceData.values()) {
if ((stepThreadInstance.get... | [
"@",
"Override",
"public",
"void",
"deleteStepThreadInstanceOfRelatedPartitions",
"(",
"TopLevelStepInstanceKey",
"stepInstanceKey",
")",
"{",
"long",
"compareInstanceId",
"=",
"stepInstanceKey",
".",
"getJobInstance",
"(",
")",
";",
"for",
"(",
"StepThreadInstanceEntity",
... | It might seems like this should delete related partition-level step executions as well.
However these are owned by the job execution, not the step thread instance.
@param stepThreadInstanceKey | [
"It",
"might",
"seems",
"like",
"this",
"should",
"delete",
"related",
"partition",
"-",
"level",
"step",
"executions",
"as",
"well",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/services/impl/MemoryPersistenceManagerImpl.java#L812-L826 |
110,938 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/BrowserSessionProxy.java | BrowserSessionProxy.next | public SIBusMessage next()
throws SISessionUnavailableException, SISessionDroppedException,
SIConnectionUnavailableException, SIConnectionDroppedException,
SIResourceException, SIConnectionLostException,
SIErrorException,
SINotAuthorizedException
{
if (... | java | public SIBusMessage next()
throws SISessionUnavailableException, SISessionDroppedException,
SIConnectionUnavailableException, SIConnectionDroppedException,
SIResourceException, SIConnectionLostException,
SIErrorException,
SINotAuthorizedException
{
if (... | [
"public",
"SIBusMessage",
"next",
"(",
")",
"throws",
"SISessionUnavailableException",
",",
"SISessionDroppedException",
",",
"SIConnectionUnavailableException",
",",
"SIConnectionDroppedException",
",",
"SIResourceException",
",",
"SIConnectionLostException",
",",
"SIErrorExcept... | f169897.2 changed throws | [
"f169897",
".",
"2",
"changed",
"throws"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/BrowserSessionProxy.java#L106-L148 |
110,939 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/BrowserSessionProxy.java | BrowserSessionProxy.close | public void close()
throws SIResourceException, SIConnectionLostException,
SIErrorException, SIConnectionDroppedException
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "close");
synchronized(lock)
{
if (!isClosed())
{
try
{
... | java | public void close()
throws SIResourceException, SIConnectionLostException,
SIErrorException, SIConnectionDroppedException
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "close");
synchronized(lock)
{
if (!isClosed())
{
try
{
... | [
"public",
"void",
"close",
"(",
")",
"throws",
"SIResourceException",
",",
"SIConnectionLostException",
",",
"SIErrorException",
",",
"SIConnectionDroppedException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
... | Closes the browser session. This involves some synchronization, flowing a
close request and also marking the appropriate objects as closed.
@throws com.ibm.websphere.sib.exception.SIResourceException
@throws com.ibm.wsspi.sib.core.exception.SIConnectionLostException
@throws com.ibm.websphere.sib.exception.SIErrorExce... | [
"Closes",
"the",
"browser",
"session",
".",
"This",
"involves",
"some",
"synchronization",
"flowing",
"a",
"close",
"request",
"and",
"also",
"marking",
"the",
"appropriate",
"objects",
"as",
"closed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/BrowserSessionProxy.java#L159-L192 |
110,940 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/BrowserSessionProxy.java | BrowserSessionProxy.reset | public void reset()
throws SISessionUnavailableException, SISessionDroppedException,
SIConnectionUnavailableException, SIConnectionDroppedException,
SIResourceException, SIConnectionLostException,
SIErrorException
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "res... | java | public void reset()
throws SISessionUnavailableException, SISessionDroppedException,
SIConnectionUnavailableException, SIConnectionDroppedException,
SIResourceException, SIConnectionLostException,
SIErrorException
{
if (tc.isEntryEnabled()) SibTr.entry(this, tc, "res... | [
"public",
"void",
"reset",
"(",
")",
"throws",
"SISessionUnavailableException",
",",
"SISessionDroppedException",
",",
"SIConnectionUnavailableException",
",",
"SIConnectionDroppedException",
",",
"SIResourceException",
",",
"SIConnectionLostException",
",",
"SIErrorException",
... | f169897.2 added | [
"f169897",
".",
"2",
"added"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/BrowserSessionProxy.java#L207-L240 |
110,941 | OpenLiberty/open-liberty | dev/com.ibm.ws.jaxws.common/src/com/ibm/ws/jaxws/client/injection/WebServiceRefBindingBuilder.java | WebServiceRefBindingBuilder.createWebServiceRefBindingFromResource | static InjectionBinding<WebServiceRef> createWebServiceRefBindingFromResource(Resource resource, ComponentNameSpaceConfiguration cnsConfig, Class<?> serviceClass,
String jndiName) throws InjectionException {
InjectionBinding<WebSe... | java | static InjectionBinding<WebServiceRef> createWebServiceRefBindingFromResource(Resource resource, ComponentNameSpaceConfiguration cnsConfig, Class<?> serviceClass,
String jndiName) throws InjectionException {
InjectionBinding<WebSe... | [
"static",
"InjectionBinding",
"<",
"WebServiceRef",
">",
"createWebServiceRefBindingFromResource",
"(",
"Resource",
"resource",
",",
"ComponentNameSpaceConfiguration",
"cnsConfig",
",",
"Class",
"<",
"?",
">",
"serviceClass",
",",
"String",
"jndiName",
")",
"throws",
"I... | This method will be used to create an instance of a WebServiceRefBinding object
that holds metadata obtained from an @Resource annotation. The @Resource annotation
in this case would have been indicating a JAX-WS service type injection. | [
"This",
"method",
"will",
"be",
"used",
"to",
"create",
"an",
"instance",
"of",
"a",
"WebServiceRefBinding",
"object",
"that",
"holds",
"metadata",
"obtained",
"from",
"an"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.common/src/com/ibm/ws/jaxws/client/injection/WebServiceRefBindingBuilder.java#L167-L183 |
110,942 | OpenLiberty/open-liberty | dev/com.ibm.ws.jaxws.common/src/com/ibm/ws/jaxws/client/injection/WebServiceRefBindingBuilder.java | WebServiceRefBindingBuilder.createWebServiceRefFromResource | static WebServiceRef createWebServiceRefFromResource(Resource resource, Class<?> typeClass, String jndiName) throws InjectionException {
// notice we send in 'Service.class' for the 'value' attribute, this is
// because only service type injections are possible with the @Resource
// annotation, ... | java | static WebServiceRef createWebServiceRefFromResource(Resource resource, Class<?> typeClass, String jndiName) throws InjectionException {
// notice we send in 'Service.class' for the 'value' attribute, this is
// because only service type injections are possible with the @Resource
// annotation, ... | [
"static",
"WebServiceRef",
"createWebServiceRefFromResource",
"(",
"Resource",
"resource",
",",
"Class",
"<",
"?",
">",
"typeClass",
",",
"String",
"jndiName",
")",
"throws",
"InjectionException",
"{",
"// notice we send in 'Service.class' for the 'value' attribute, this is",
... | This creates an @WebServiceRef instance based on data from an @Resource annotation.
The type class and JNDI name are separately passed in because the @Resource annotation
may have the default values for these attributes. | [
"This",
"creates",
"an"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxws.common/src/com/ibm/ws/jaxws/client/injection/WebServiceRefBindingBuilder.java#L190-L195 |
110,943 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/application/StateManagerImpl.java | StateManagerImpl.getTreeStructureToSave | @Override
protected Object getTreeStructureToSave(FacesContext facesContext)
{
if (log.isLoggable(Level.FINEST))
{
log.finest("Entering getTreeStructureToSave");
}
UIViewRoot viewRoot = facesContext.getViewRoot();
if (viewRoot.isTransient())
{
... | java | @Override
protected Object getTreeStructureToSave(FacesContext facesContext)
{
if (log.isLoggable(Level.FINEST))
{
log.finest("Entering getTreeStructureToSave");
}
UIViewRoot viewRoot = facesContext.getViewRoot();
if (viewRoot.isTransient())
{
... | [
"@",
"Override",
"protected",
"Object",
"getTreeStructureToSave",
"(",
"FacesContext",
"facesContext",
")",
"{",
"if",
"(",
"log",
".",
"isLoggable",
"(",
"Level",
".",
"FINEST",
")",
")",
"{",
"log",
".",
"finest",
"(",
"\"Entering getTreeStructureToSave\"",
")... | Return an object which contains info about the UIComponent type
of each node in the view tree. This allows an identical UIComponent
tree to be recreated later, though all the components will have
just default values for their members. | [
"Return",
"an",
"object",
"which",
"contains",
"info",
"about",
"the",
"UIComponent",
"type",
"of",
"each",
"node",
"in",
"the",
"view",
"tree",
".",
"This",
"allows",
"an",
"identical",
"UIComponent",
"tree",
"to",
"be",
"recreated",
"later",
"though",
"all... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/application/StateManagerImpl.java#L87-L106 |
110,944 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/application/StateManagerImpl.java | StateManagerImpl.saveView | @Override
public Object saveView(FacesContext facesContext)
{
UIViewRoot uiViewRoot = facesContext.getViewRoot();
if (uiViewRoot.isTransient())
{
return null;
}
Object serializedView = null;
ResponseStateManager responseStateManager =... | java | @Override
public Object saveView(FacesContext facesContext)
{
UIViewRoot uiViewRoot = facesContext.getViewRoot();
if (uiViewRoot.isTransient())
{
return null;
}
Object serializedView = null;
ResponseStateManager responseStateManager =... | [
"@",
"Override",
"public",
"Object",
"saveView",
"(",
"FacesContext",
"facesContext",
")",
"{",
"UIViewRoot",
"uiViewRoot",
"=",
"facesContext",
".",
"getViewRoot",
"(",
")",
";",
"if",
"(",
"uiViewRoot",
".",
"isTransient",
"(",
")",
")",
"{",
"return",
"nu... | Wrap the original method and redirect to VDL StateManagementStrategy when
necessary | [
"Wrap",
"the",
"original",
"method",
"and",
"redirect",
"to",
"VDL",
"StateManagementStrategy",
"when",
"necessary"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/application/StateManagerImpl.java#L182-L294 |
110,945 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.remote.portable.core/src/com/ibm/ws/ejb/portable/KeyHelper.java | KeyHelper.serialize | public static Serializable serialize(Serializable serializable) throws IOException {
if (serializable == null)
{
return null;
}
if (serializable instanceof KeyHelper)
{
return serializable;
}
ByteArrayOutputStream byteArrayOutputStream = ne... | java | public static Serializable serialize(Serializable serializable) throws IOException {
if (serializable == null)
{
return null;
}
if (serializable instanceof KeyHelper)
{
return serializable;
}
ByteArrayOutputStream byteArrayOutputStream = ne... | [
"public",
"static",
"Serializable",
"serialize",
"(",
"Serializable",
"serializable",
")",
"throws",
"IOException",
"{",
"if",
"(",
"serializable",
"==",
"null",
")",
"{",
"return",
"null",
";",
"}",
"if",
"(",
"serializable",
"instanceof",
"KeyHelper",
")",
"... | serialize the primary key corresponding to a Handle to an entity bean for Rel. 3.5, 4.0.
This method is called from the writeObject
@param serializable - Serializable key to be converted into a KeyHelper.
@return Serializable the KeyHelper with the serialized primary key.
@exception java.io.IOException - The EJBObje... | [
"serialize",
"the",
"primary",
"key",
"corresponding",
"to",
"a",
"Handle",
"to",
"an",
"entity",
"bean",
"for",
"Rel",
".",
"3",
".",
"5",
"4",
".",
"0",
".",
"This",
"method",
"is",
"called",
"from",
"the",
"writeObject"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.remote.portable.core/src/com/ibm/ws/ejb/portable/KeyHelper.java#L41-L58 |
110,946 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.remote.portable.core/src/com/ibm/ws/ejb/portable/KeyHelper.java | KeyHelper.deserialize | public static Serializable deserialize(Serializable kh) throws IOException, ClassNotFoundException {
if (kh == null)
{
return null;
}
if (!(kh instanceof KeyHelper))
{
return kh;
}
KeyHelper ivKh = (KeyHelper) kh;
ByteArrayInputStr... | java | public static Serializable deserialize(Serializable kh) throws IOException, ClassNotFoundException {
if (kh == null)
{
return null;
}
if (!(kh instanceof KeyHelper))
{
return kh;
}
KeyHelper ivKh = (KeyHelper) kh;
ByteArrayInputStr... | [
"public",
"static",
"Serializable",
"deserialize",
"(",
"Serializable",
"kh",
")",
"throws",
"IOException",
",",
"ClassNotFoundException",
"{",
"if",
"(",
"kh",
"==",
"null",
")",
"{",
"return",
"null",
";",
"}",
"if",
"(",
"!",
"(",
"kh",
"instanceof",
"K... | deserialize the Object reference corresponding to a primary key for a Handle to Rel. 3.5,4.0 Entity Bean.
This method is called from the readResolve
@param kh - Serializable KeyHelper to be converted back to a primary key.
@return Serializable The deserialized primary key.
@exception java.io.IOException - The Key co... | [
"deserialize",
"the",
"Object",
"reference",
"corresponding",
"to",
"a",
"primary",
"key",
"for",
"a",
"Handle",
"to",
"Rel",
".",
"3",
".",
"5",
"4",
".",
"0",
"Entity",
"Bean",
".",
"This",
"method",
"is",
"called",
"from",
"the",
"readResolve"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.remote.portable.core/src/com/ibm/ws/ejb/portable/KeyHelper.java#L76-L92 |
110,947 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.remote.portable.core/src/com/ibm/ws/ejb/portable/KeyHelper.java | KeyHelper.readResolve | public Object readResolve() throws ObjectStreamException
{
Object obj = null;
try
{
obj = deserialize(this);
} catch (Throwable t)
{
// FFDCFilter.processException(e, CLASS_NAME + ".lookupHandleDelegate",
// "134... | java | public Object readResolve() throws ObjectStreamException
{
Object obj = null;
try
{
obj = deserialize(this);
} catch (Throwable t)
{
// FFDCFilter.processException(e, CLASS_NAME + ".lookupHandleDelegate",
// "134... | [
"public",
"Object",
"readResolve",
"(",
")",
"throws",
"ObjectStreamException",
"{",
"Object",
"obj",
"=",
"null",
";",
"try",
"{",
"obj",
"=",
"deserialize",
"(",
"this",
")",
";",
"}",
"catch",
"(",
"Throwable",
"t",
")",
"{",
"// FFDCFilter.processExcepti... | readResolve is the standard overide if you want to substitute
during a readObject call during serialization
in our case, we call the deserialize method to deserialize
the contained byte array into the original Key object
@return Object the key of the object used for findByPrimaryKey
@exception ObjectStreamException -... | [
"readResolve",
"is",
"the",
"standard",
"overide",
"if",
"you",
"want",
"to",
"substitute",
"during",
"a",
"readObject",
"call",
"during",
"serialization",
"in",
"our",
"case",
"we",
"call",
"the",
"deserialize",
"method",
"to",
"deserialize",
"the",
"contained"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.remote.portable.core/src/com/ibm/ws/ejb/portable/KeyHelper.java#L107-L123 |
110,948 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java | HttpInboundServiceContextImpl.skipWhiteSpace | private int skipWhiteSpace(byte[] data, int start) {
int index = start;
while (index < data.length && (' ' == data[index] || '\t' == data[index])) {
index++;
}
return index;
} | java | private int skipWhiteSpace(byte[] data, int start) {
int index = start;
while (index < data.length && (' ' == data[index] || '\t' == data[index])) {
index++;
}
return index;
} | [
"private",
"int",
"skipWhiteSpace",
"(",
"byte",
"[",
"]",
"data",
",",
"int",
"start",
")",
"{",
"int",
"index",
"=",
"start",
";",
"while",
"(",
"index",
"<",
"data",
".",
"length",
"&&",
"(",
"'",
"'",
"==",
"data",
"[",
"index",
"]",
"||",
"'... | Skip whitespace found in the input data starting at the given index. It
will return an index value that points to the first non-space byte found
or end of data if it ran out.
@param data
@param start
@return int | [
"Skip",
"whitespace",
"found",
"in",
"the",
"input",
"data",
"starting",
"at",
"the",
"given",
"index",
".",
"It",
"will",
"return",
"an",
"index",
"value",
"that",
"points",
"to",
"the",
"first",
"non",
"-",
"space",
"byte",
"found",
"or",
"end",
"of",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java#L242-L248 |
110,949 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java | HttpInboundServiceContextImpl.getRequestImpl | protected HttpRequestMessageImpl getRequestImpl() {
if (null == getMyRequest()) {
setMyRequest(getObjectFactory().getRequest(this));
getMyRequest().setHeaderChangeLimit(getHttpConfig().getHeaderChangeLimit());
}
setStartTime();
return getMyRequest();
} | java | protected HttpRequestMessageImpl getRequestImpl() {
if (null == getMyRequest()) {
setMyRequest(getObjectFactory().getRequest(this));
getMyRequest().setHeaderChangeLimit(getHttpConfig().getHeaderChangeLimit());
}
setStartTime();
return getMyRequest();
} | [
"protected",
"HttpRequestMessageImpl",
"getRequestImpl",
"(",
")",
"{",
"if",
"(",
"null",
"==",
"getMyRequest",
"(",
")",
")",
"{",
"setMyRequest",
"(",
"getObjectFactory",
"(",
")",
".",
"getRequest",
"(",
"this",
")",
")",
";",
"getMyRequest",
"(",
")",
... | Get access to the request message impl for internal use.
@return HttpRequestMessageImpl | [
"Get",
"access",
"to",
"the",
"request",
"message",
"impl",
"for",
"internal",
"use",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java#L560-L567 |
110,950 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java | HttpInboundServiceContextImpl.setResponse | @Override
public void setResponse(HttpResponseMessage msg) throws IllegalResponseObjectException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "setResponse: " + msg);
}
// null message isn't allowed
if (null == msg) {
throw... | java | @Override
public void setResponse(HttpResponseMessage msg) throws IllegalResponseObjectException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "setResponse: " + msg);
}
// null message isn't allowed
if (null == msg) {
throw... | [
"@",
"Override",
"public",
"void",
"setResponse",
"(",
"HttpResponseMessage",
"msg",
")",
"throws",
"IllegalResponseObjectException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"... | Set the response object in the service context for usage.
@param msg
@throws IllegalResponseObjectException | [
"Set",
"the",
"response",
"object",
"in",
"the",
"service",
"context",
"for",
"usage",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java#L600-L643 |
110,951 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java | HttpInboundServiceContextImpl.sendResponseHeaders | @Override
public void sendResponseHeaders() throws IOException, MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "sendResponseHeaders(sync)");
}
if (!headersParsed()) {
// request message must have the headers par... | java | @Override
public void sendResponseHeaders() throws IOException, MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "sendResponseHeaders(sync)");
}
if (!headersParsed()) {
// request message must have the headers par... | [
"@",
"Override",
"public",
"void",
"sendResponseHeaders",
"(",
")",
"throws",
"IOException",
",",
"MessageSentException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
... | Send the headers for the outgoing response synchronously.
@throws IOException -- if a socket exception occurs
@throws MessageSentException -- if a finishMessage API was already used | [
"Send",
"the",
"headers",
"for",
"the",
"outgoing",
"response",
"synchronously",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java#L655-L686 |
110,952 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java | HttpInboundServiceContextImpl.checkResponseValidity | protected HttpInvalidMessageException checkResponseValidity() {
// if this wasn't a HEAD request, then check to make sure we sent the
// same amount of bytes that were in the content-length header
if (!MethodValues.HEAD.equals(getRequest().getMethodValue())) {
long len = getResponse(... | java | protected HttpInvalidMessageException checkResponseValidity() {
// if this wasn't a HEAD request, then check to make sure we sent the
// same amount of bytes that were in the content-length header
if (!MethodValues.HEAD.equals(getRequest().getMethodValue())) {
long len = getResponse(... | [
"protected",
"HttpInvalidMessageException",
"checkResponseValidity",
"(",
")",
"{",
"// if this wasn't a HEAD request, then check to make sure we sent the",
"// same amount of bytes that were in the content-length header",
"if",
"(",
"!",
"MethodValues",
".",
"HEAD",
".",
"equals",
"... | Once the response message has been fully written, perform any last checks
for correctness. This will return null if the response was valid,
otherwise it will return the HttpInvalidMessageException that should be
handed off to the application channel above.
@return HttpInvalidMessageException (null if valid) | [
"Once",
"the",
"response",
"message",
"has",
"been",
"fully",
"written",
"perform",
"any",
"last",
"checks",
"for",
"correctness",
".",
"This",
"will",
"return",
"null",
"if",
"the",
"response",
"was",
"valid",
"otherwise",
"it",
"will",
"return",
"the",
"Ht... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java#L925-L944 |
110,953 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java | HttpInboundServiceContextImpl.logFinalResponse | protected void logFinalResponse(long numBytesWritten) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
HttpChannelConfig c = getHttpConfig();
Tr.debug(tc, "logFinal", c, c.getAccessLog(), c.getAccessLog().isStarted(), numBytesWritten);
}
// exit if ac... | java | protected void logFinalResponse(long numBytesWritten) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
HttpChannelConfig c = getHttpConfig();
Tr.debug(tc, "logFinal", c, c.getAccessLog(), c.getAccessLog().isStarted(), numBytesWritten);
}
// exit if ac... | [
"protected",
"void",
"logFinalResponse",
"(",
"long",
"numBytesWritten",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"HttpChannelConfig",
"c",
"=",
"getHttpConfig",
"(",
")... | Method to consolidate the access logging message into one spot. This
pulls all the pieces together for the appropriate line to save.
Note if the signature of this method is changed, the signature in
HttpInboundServiceContextImplLogFinalResponseTransformDescriptor.java
needs to be updated. Passed as a parameter to avoi... | [
"Method",
"to",
"consolidate",
"the",
"access",
"logging",
"message",
"into",
"one",
"spot",
".",
"This",
"pulls",
"all",
"the",
"pieces",
"together",
"for",
"the",
"appropriate",
"line",
"to",
"save",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java#L956-L971 |
110,954 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java | HttpInboundServiceContextImpl.finishRawResponseMessage | @Override
public void finishRawResponseMessage(WsByteBuffer[] body) throws IOException, MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "finishRawResponseMessage(sync)");
}
setRawBody(true);
finishResponseMessage(body... | java | @Override
public void finishRawResponseMessage(WsByteBuffer[] body) throws IOException, MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "finishRawResponseMessage(sync)");
}
setRawBody(true);
finishResponseMessage(body... | [
"@",
"Override",
"public",
"void",
"finishRawResponseMessage",
"(",
"WsByteBuffer",
"[",
"]",
"body",
")",
"throws",
"IOException",
",",
"MessageSentException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnable... | Finish sending the response message with the optional input body buffers.
These can be null if there is no more actual body data to send. This
method will avoid any body modification, such as compression or chunked
encoding and simply send the buffers as-is. If the headers have not
been sent yet, then they will be prep... | [
"Finish",
"sending",
"the",
"response",
"message",
"with",
"the",
"optional",
"input",
"body",
"buffers",
".",
"These",
"can",
"be",
"null",
"if",
"there",
"is",
"no",
"more",
"actual",
"body",
"data",
"to",
"send",
".",
"This",
"method",
"will",
"avoid",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java#L1150-L1160 |
110,955 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java | HttpInboundServiceContextImpl.sendError | @Override
public void sendError(HttpError error) throws MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Called sendError with: " + error);
}
if (!headersParsed()) {
// request message must have the headers parsed... | java | @Override
public void sendError(HttpError error) throws MessageSentException {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Called sendError with: " + error);
}
if (!headersParsed()) {
// request message must have the headers parsed... | [
"@",
"Override",
"public",
"void",
"sendError",
"(",
"HttpError",
"error",
")",
"throws",
"MessageSentException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug... | Sends an error code and page back to the client asynchronously and
closes the connection.
@param error
@throws MessageSentException | [
"Sends",
"an",
"error",
"code",
"and",
"page",
"back",
"to",
"the",
"client",
"asynchronously",
"and",
"closes",
"the",
"connection",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java#L1204-L1252 |
110,956 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java | HttpInboundServiceContextImpl.finishSendError | protected void finishSendError() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "finishSendError: " + getVC());
}
HttpError error = (HttpError) getVC().getStateMap().get(HTTP_ERROR_IDENTIFIER);
WsByteBuffer[] body = (WsByteBuffer[]) getVC().... | java | protected void finishSendError() {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "finishSendError: " + getVC());
}
HttpError error = (HttpError) getVC().getStateMap().get(HTTP_ERROR_IDENTIFIER);
WsByteBuffer[] body = (WsByteBuffer[]) getVC().... | [
"protected",
"void",
"finishSendError",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"finishSendError: \"",
"+",
"getVC",
"(",... | Finish the send error path by closing the connection with the exception
from the HttpError. This is used by the callbacks. | [
"Finish",
"the",
"send",
"error",
"path",
"by",
"closing",
"the",
"connection",
"with",
"the",
"exception",
"from",
"the",
"HttpError",
".",
"This",
"is",
"used",
"by",
"the",
"callbacks",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java#L1259-L1275 |
110,957 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java | HttpInboundServiceContextImpl.finishSendError | protected void finishSendError(Exception e) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "finishSendError(exception): " + getVC());
}
WsByteBuffer[] body = (WsByteBuffer[]) getVC().getStateMap().remove(EPS_KEY);
if (null != body) {
... | java | protected void finishSendError(Exception e) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "finishSendError(exception): " + getVC());
}
WsByteBuffer[] body = (WsByteBuffer[]) getVC().getStateMap().remove(EPS_KEY);
if (null != body) {
... | [
"protected",
"void",
"finishSendError",
"(",
"Exception",
"e",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"finishSendError(exceptio... | Finish the send error path by closing the connection with the exception
from the HttpError.
@param e | [
"Finish",
"the",
"send",
"error",
"path",
"by",
"closing",
"the",
"connection",
"with",
"the",
"exception",
"from",
"the",
"HttpError",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java#L1283-L1294 |
110,958 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java | HttpInboundServiceContextImpl.purgeBodyBuffers | public void purgeBodyBuffers(boolean callClose) {
// the async read for the entire incoming body has finished, discard
// the buffers and pick up with the close sequence
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Discarding body buffers...");
... | java | public void purgeBodyBuffers(boolean callClose) {
// the async read for the entire incoming body has finished, discard
// the buffers and pick up with the close sequence
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Discarding body buffers...");
... | [
"public",
"void",
"purgeBodyBuffers",
"(",
"boolean",
"callClose",
")",
"{",
"// the async read for the entire incoming body has finished, discard",
"// the buffers and pick up with the close sequence",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc"... | If we are purging the incoming request body during a close sequence, then
this method should be called once the entire body is successfully read.
This will discard those body buffers and then restart the close process
now that we're ready to read the next inbound request.
@param callClose
(should this method call the ... | [
"If",
"we",
"are",
"purging",
"the",
"incoming",
"request",
"body",
"during",
"a",
"close",
"sequence",
"then",
"this",
"method",
"should",
"be",
"called",
"once",
"the",
"entire",
"body",
"is",
"successfully",
"read",
".",
"This",
"will",
"discard",
"those"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java#L1369-L1383 |
110,959 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/richclient/threadpool/impl/RichThreadPoolImpl.java | RichThreadPoolImpl.initialise | public void initialise(String name, int minSize, int maxSize)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "initialise",
new Object[]{name, minSize, maxSize});
wasThreadPool = new com.ibm.ws.util.ThreadPool(name, minS... | java | public void initialise(String name, int minSize, int maxSize)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "initialise",
new Object[]{name, minSize, maxSize});
wasThreadPool = new com.ibm.ws.util.ThreadPool(name, minS... | [
"public",
"void",
"initialise",
"(",
"String",
"name",
",",
"int",
"minSize",
",",
"int",
"maxSize",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"("... | Creates the underlying WAS thread pool.
@see com.ibm.ws.sib.jfapchannel.threadpool.ThreadPool#initialise(java.lang.String, int, int) | [
"Creates",
"the",
"underlying",
"WAS",
"thread",
"pool",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/jfapchannel/richclient/threadpool/impl/RichThreadPoolImpl.java#L45-L53 |
110,960 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2HttpInboundLinkWrap.java | H2HttpInboundLinkWrap.prepareHeaders | public ArrayList<Frame> prepareHeaders(byte[] marshalledHeaders, boolean complete) {
//Create the HeaderFrame
//Passback the header frame
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "prepareHeaders entry: stream: marked as complete: " + complete)... | java | public ArrayList<Frame> prepareHeaders(byte[] marshalledHeaders, boolean complete) {
//Create the HeaderFrame
//Passback the header frame
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "prepareHeaders entry: stream: marked as complete: " + complete)... | [
"public",
"ArrayList",
"<",
"Frame",
">",
"prepareHeaders",
"(",
"byte",
"[",
"]",
"marshalledHeaders",
",",
"boolean",
"complete",
")",
"{",
"//Create the HeaderFrame",
"//Passback the header frame",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
... | Create Header frames corresponding to a byte array of http headers
@param byte[] marshalledHeaders
@param boolean complete
@return ArrayList<Frame> of FrameHeader objects containing the headers | [
"Create",
"Header",
"frames",
"corresponding",
"to",
"a",
"byte",
"array",
"of",
"http",
"headers"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2HttpInboundLinkWrap.java#L113-L180 |
110,961 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2HttpInboundLinkWrap.java | H2HttpInboundLinkWrap.prepareBody | public ArrayList<Frame> prepareBody(WsByteBuffer[] wsbb, int length, boolean isFinalWrite) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "prepareBody entry : final write: " + isFinalWrite);
}
ArrayList<Frame> dataFrames = new ArrayList<Frame>();
... | java | public ArrayList<Frame> prepareBody(WsByteBuffer[] wsbb, int length, boolean isFinalWrite) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "prepareBody entry : final write: " + isFinalWrite);
}
ArrayList<Frame> dataFrames = new ArrayList<Frame>();
... | [
"public",
"ArrayList",
"<",
"Frame",
">",
"prepareBody",
"(",
"WsByteBuffer",
"[",
"]",
"wsbb",
",",
"int",
"length",
",",
"boolean",
"isFinalWrite",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnable... | Create Data frames to contain the http body payload
The buffers passed in must not exceed the http2 max frame size
@param WsByteBuffer[]
@param int length
@param boolean isFinalWrite
@return ArrayList<Frame> of FrameData objects containing the buffered payload data | [
"Create",
"Data",
"frames",
"to",
"contain",
"the",
"http",
"body",
"payload",
"The",
"buffers",
"passed",
"in",
"must",
"not",
"exceed",
"the",
"http2",
"max",
"frame",
"size"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2HttpInboundLinkWrap.java#L191-L243 |
110,962 | OpenLiberty/open-liberty | dev/com.ibm.ws.session/src/com/ibm/ws/session/store/memory/MemorySession.java | MemorySession.isSwappableData | protected boolean isSwappableData(Object obj) {
if (obj != null && (obj instanceof Serializable || obj instanceof Externalizable)) {
return true;
}
return false;
} | java | protected boolean isSwappableData(Object obj) {
if (obj != null && (obj instanceof Serializable || obj instanceof Externalizable)) {
return true;
}
return false;
} | [
"protected",
"boolean",
"isSwappableData",
"(",
"Object",
"obj",
")",
"{",
"if",
"(",
"obj",
"!=",
"null",
"&&",
"(",
"obj",
"instanceof",
"Serializable",
"||",
"obj",
"instanceof",
"Externalizable",
")",
")",
"{",
"return",
"true",
";",
"}",
"return",
"fa... | Check if attribute is swappable as defined by J2EE | [
"Check",
"if",
"attribute",
"is",
"swappable",
"as",
"defined",
"by",
"J2EE"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session/src/com/ibm/ws/session/store/memory/MemorySession.java#L943-L948 |
110,963 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/persistence/objectManager/PersistentMessageStoreImpl.java | PersistentMessageStoreImpl.initialize | public void initialize(MessageStoreImpl ms, XidManager xidManager, Configuration configuration)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "initialize", new Object[]{"MS="+ms, "XidManager="+xidManager, "Config="+configuration});
_ms = ms;
... | java | public void initialize(MessageStoreImpl ms, XidManager xidManager, Configuration configuration)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "initialize", new Object[]{"MS="+ms, "XidManager="+xidManager, "Config="+configuration});
_ms = ms;
... | [
"public",
"void",
"initialize",
"(",
"MessageStoreImpl",
"ms",
",",
"XidManager",
"xidManager",
",",
"Configuration",
"configuration",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
... | Initialises the PersistentMessageStore
@param ms Reference to the owning MessageStoreImpl which offers a variety of utility methods
@param xidManager The transaction layer's XidManager
@param configuration The configuration for the persistence layer | [
"Initialises",
"the",
"PersistentMessageStore"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/persistence/objectManager/PersistentMessageStoreImpl.java#L147-L162 |
110,964 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/persistence/objectManager/PersistentMessageStoreImpl.java | PersistentMessageStoreImpl.stop | public void stop(int mode)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "stop", "Mode="+mode);
// Defect 363755
// Stop any new work coming in as soon as we start stopping.
// This way we make sure nothing is attempted during the
/... | java | public void stop(int mode)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "stop", "Mode="+mode);
// Defect 363755
// Stop any new work coming in as soon as we start stopping.
// This way we make sure nothing is attempted during the
/... | [
"public",
"void",
"stop",
"(",
"int",
"mode",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"stop\"",
",",
"\"Mode=\"... | Stops the Persistent Message Store.
@param mode specifies the type of stop operation which is to
be performed. | [
"Stops",
"the",
"Persistent",
"Message",
"Store",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/persistence/objectManager/PersistentMessageStoreImpl.java#L622-L694 |
110,965 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/persistence/objectManager/PersistentMessageStoreImpl.java | PersistentMessageStoreImpl.notification | public void notification(int event, Object[] args)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "notification", new Object[]{event, args});
switch (event) {
// This event will be notified by the ObjectManager when it shuts down.
// Do any cle... | java | public void notification(int event, Object[] args)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "notification", new Object[]{event, args});
switch (event) {
// This event will be notified by the ObjectManager when it shuts down.
// Do any cle... | [
"public",
"void",
"notification",
"(",
"int",
"event",
",",
"Object",
"[",
"]",
"args",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
"... | by the ObjectManager when anything 'interesting' occurs. | [
"by",
"the",
"ObjectManager",
"when",
"anything",
"interesting",
"occurs",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/persistence/objectManager/PersistentMessageStoreImpl.java#L698-L724 |
110,966 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/persistence/objectManager/PersistentMessageStoreImpl.java | PersistentMessageStoreImpl.objectManagerStopped | private void objectManagerStopped()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "objectManagerStopped");
// Stop any new work coming in as we do not have a working
// ObjectManager to service any requests.
_available = false;
// ... | java | private void objectManagerStopped()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "objectManagerStopped");
// Stop any new work coming in as we do not have a working
// ObjectManager to service any requests.
_available = false;
// ... | [
"private",
"void",
"objectManagerStopped",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"objectManagerStopped\"",
")"... | as we can not function once we have lost the ObjectManager. | [
"as",
"we",
"can",
"not",
"function",
"once",
"we",
"have",
"lost",
"the",
"ObjectManager",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/persistence/objectManager/PersistentMessageStoreImpl.java#L731-L759 |
110,967 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/persistence/objectManager/PersistentMessageStoreImpl.java | PersistentMessageStoreImpl.createDirectoryPath | private String createDirectoryPath(String path)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "createDirectoryPath", "Path="+path);
StringBuilder directoryPath = new StringBuilder("");
if ((path != null) && (path.length() > 0))
{
... | java | private String createDirectoryPath(String path)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "createDirectoryPath", "Path="+path);
StringBuilder directoryPath = new StringBuilder("");
if ((path != null) && (path.length() > 0))
{
... | [
"private",
"String",
"createDirectoryPath",
"(",
"String",
"path",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"createD... | Checks to see if the supplied path exists and if not creates the directory
structure required to store the file store files.
@param path The file store file path as provided from the
admin console
@return | [
"Checks",
"to",
"see",
"if",
"the",
"supplied",
"path",
"exists",
"and",
"if",
"not",
"creates",
"the",
"directory",
"structure",
"required",
"to",
"store",
"the",
"file",
"store",
"files",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/persistence/objectManager/PersistentMessageStoreImpl.java#L2142-L2196 |
110,968 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/SelectorImpl.java | SelectorImpl.mayBeNumeric | public boolean mayBeNumeric()
{
if (type == UNKNOWN)
type = NUMERIC;
return type == NUMERIC || (type >= INT && type <= DOUBLE);
} | java | public boolean mayBeNumeric()
{
if (type == UNKNOWN)
type = NUMERIC;
return type == NUMERIC || (type >= INT && type <= DOUBLE);
} | [
"public",
"boolean",
"mayBeNumeric",
"(",
")",
"{",
"if",
"(",
"type",
"==",
"UNKNOWN",
")",
"type",
"=",
"NUMERIC",
";",
"return",
"type",
"==",
"NUMERIC",
"||",
"(",
"type",
">=",
"INT",
"&&",
"type",
"<=",
"DOUBLE",
")",
";",
"}"
] | Returns true if the type is consistent with a numeric context, false otherwise.
Sets the type to NUMERIC if it is UNKNOWN. | [
"Returns",
"true",
"if",
"the",
"type",
"is",
"consistent",
"with",
"a",
"numeric",
"context",
"false",
"otherwise",
".",
"Sets",
"the",
"type",
"to",
"NUMERIC",
"if",
"it",
"is",
"UNKNOWN",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/SelectorImpl.java#L80-L85 |
110,969 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/SelectorImpl.java | SelectorImpl.unintern | public void unintern(InternTable table)
{
// This implementation is inherited by Identifier and Literal which have no children,
// but is overridden in Operator, which does.
refCount--;
if (refCount < 0)
throw new IllegalStateException();
if (refCount == 0)
{
Object res = table.rem... | java | public void unintern(InternTable table)
{
// This implementation is inherited by Identifier and Literal which have no children,
// but is overridden in Operator, which does.
refCount--;
if (refCount < 0)
throw new IllegalStateException();
if (refCount == 0)
{
Object res = table.rem... | [
"public",
"void",
"unintern",
"(",
"InternTable",
"table",
")",
"{",
"// This implementation is inherited by Identifier and Literal which have no children,",
"// but is overridden in Operator, which does.",
"refCount",
"--",
";",
"if",
"(",
"refCount",
"<",
"0",
")",
"throw",
... | Removes this Selector from an InternTable
@param table the InternTable context from which this Selector should be removed | [
"Removes",
"this",
"Selector",
"from",
"an",
"InternTable"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/SelectorImpl.java#L132-L145 |
110,970 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/SelectorImpl.java | SelectorImpl.decode | public static Selector decode(ObjectInput buf) throws IOException
{
if (buf.readByte() != VERSION)
throw new IOException();
try
{
return decodeSubtree(buf);
}
catch (Exception e)
{
// No FFDC Code Needed.
// FFDC driven by wrapper class.
FFDC.processExceptio... | java | public static Selector decode(ObjectInput buf) throws IOException
{
if (buf.readByte() != VERSION)
throw new IOException();
try
{
return decodeSubtree(buf);
}
catch (Exception e)
{
// No FFDC Code Needed.
// FFDC driven by wrapper class.
FFDC.processExceptio... | [
"public",
"static",
"Selector",
"decode",
"(",
"ObjectInput",
"buf",
")",
"throws",
"IOException",
"{",
"if",
"(",
"buf",
".",
"readByte",
"(",
")",
"!=",
"VERSION",
")",
"throw",
"new",
"IOException",
"(",
")",
";",
"try",
"{",
"return",
"decodeSubtree",
... | The decode method turns an ObjectInput into a Selector tree.
@param buf the DataInput containing the encoding of the tree
@exception IOException when presented with an illformed encoding or other error | [
"The",
"decode",
"method",
"turns",
"an",
"ObjectInput",
"into",
"a",
"Selector",
"tree",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/matchspace/selector/impl/SelectorImpl.java#L154-L173 |
110,971 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/utils/DirUtils.java | DirUtils.createDirectoryPath | public static String createDirectoryPath(String source)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "createDirectoryPath",source);
String directoryPath = null;
if (source != null)
{
directoryPath = "";
final StringTokenizer tokenizer = new StringTokenizer(source,"\\/... | java | public static String createDirectoryPath(String source)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "createDirectoryPath",source);
String directoryPath = null;
if (source != null)
{
directoryPath = "";
final StringTokenizer tokenizer = new StringTokenizer(source,"\\/... | [
"public",
"static",
"String",
"createDirectoryPath",
"(",
"String",
"source",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"createDirectoryPath\"",
",",
"source",
")",
";",
"String",
"directoryPath",
... | Replaces forward and backward slashes in the source string with 'File.separator'
characters. | [
"Replaces",
"forward",
"and",
"backward",
"slashes",
"in",
"the",
"source",
"string",
"with",
"File",
".",
"separator",
"characters",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/utils/DirUtils.java#L30-L58 |
110,972 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManagerState.java | ObjectManagerState.performColdStart | protected void performColdStart()
throws ObjectManagerException
{
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
"performColdStart");
// This is presumably the first startup of th... | java | protected void performColdStart()
throws ObjectManagerException
{
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
"performColdStart");
// This is presumably the first startup of th... | [
"protected",
"void",
"performColdStart",
"(",
")",
"throws",
"ObjectManagerException",
"{",
"if",
"(",
"Tracing",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"trace",
".",
"isEntryEnabled",
"(",
")",
")",
"trace",
".",
"entry",
"(",
"this",
",",
"cclass",
",... | Cold start the ObjectManager.
@throws ObjectManagerException | [
"Cold",
"start",
"the",
"ObjectManager",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManagerState.java#L494-L539 |
110,973 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManagerState.java | ObjectManagerState.performRecovery | private final void performRecovery(LogInput logInput)
throws ObjectManagerException {
final String methodName = "performRecovery";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
method... | java | private final void performRecovery(LogInput logInput)
throws ObjectManagerException {
final String methodName = "performRecovery";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
method... | [
"private",
"final",
"void",
"performRecovery",
"(",
"LogInput",
"logInput",
")",
"throws",
"ObjectManagerException",
"{",
"final",
"String",
"methodName",
"=",
"\"performRecovery\"",
";",
"if",
"(",
"Tracing",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"trace",
"... | Recover the state of the objectManager from the Log. Re apply changes to object stores that were lost.
@param logInput the logger that LogRecords are read from.
@throws ObjectManagerException | [
"Recover",
"the",
"state",
"of",
"the",
"objectManager",
"from",
"the",
"Log",
".",
"Re",
"apply",
"changes",
"to",
"object",
"stores",
"that",
"were",
"lost",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManagerState.java#L684-L755 |
110,974 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManagerState.java | ObjectManagerState.saveClonedState | protected void saveClonedState(Transaction transaction)
throws ObjectManagerException {
final String methodName = "saveClonedState";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this, cclass, methodName, transaction);
// Loop over all ... | java | protected void saveClonedState(Transaction transaction)
throws ObjectManagerException {
final String methodName = "saveClonedState";
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this, cclass, methodName, transaction);
// Loop over all ... | [
"protected",
"void",
"saveClonedState",
"(",
"Transaction",
"transaction",
")",
"throws",
"ObjectManagerException",
"{",
"final",
"String",
"methodName",
"=",
"\"saveClonedState\"",
";",
"if",
"(",
"Tracing",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"trace",
".",... | Create or update a copy of the ObjectManagerState in each ObjectStore.
The caller must be synchronised on objectStores.
@param transaction controlling the update.
@throws ObjectManagerException | [
"Create",
"or",
"update",
"a",
"copy",
"of",
"the",
"ObjectManagerState",
"in",
"each",
"ObjectStore",
".",
"The",
"caller",
"must",
"be",
"synchronised",
"on",
"objectStores",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManagerState.java#L1032-L1074 |
110,975 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManagerState.java | ObjectManagerState.waitForCheckpoint | protected final void waitForCheckpoint(boolean persistent)
throws ObjectManagerException
{
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
"waitForCheckpoint");
checkpointHelper.wa... | java | protected final void waitForCheckpoint(boolean persistent)
throws ObjectManagerException
{
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
"waitForCheckpoint");
checkpointHelper.wa... | [
"protected",
"final",
"void",
"waitForCheckpoint",
"(",
"boolean",
"persistent",
")",
"throws",
"ObjectManagerException",
"{",
"if",
"(",
"Tracing",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"trace",
".",
"isEntryEnabled",
"(",
")",
")",
"trace",
".",
"entry",... | Blocking request for a checkpoint, returns once a checkpoint has been completed.
@param persistent true if persistent work is to be checkpointed.
@throws ObjectManagerException | [
"Blocking",
"request",
"for",
"a",
"checkpoint",
"returns",
"once",
"a",
"checkpoint",
"has",
"been",
"completed",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManagerState.java#L1082-L1097 |
110,976 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManagerState.java | ObjectManagerState.requestCheckpoint | protected final void requestCheckpoint(boolean persistent)
throws ObjectManagerException
{
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
"requestCheckpoint",
new O... | java | protected final void requestCheckpoint(boolean persistent)
throws ObjectManagerException
{
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
"requestCheckpoint",
new O... | [
"protected",
"final",
"void",
"requestCheckpoint",
"(",
"boolean",
"persistent",
")",
"throws",
"ObjectManagerException",
"{",
"if",
"(",
"Tracing",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"trace",
".",
"isEntryEnabled",
"(",
")",
")",
"trace",
".",
"entry",... | Non blocking request for a checkpoint, returns immediately. If multiple requests are made this may result in fewer
checkpoints than requests.
@param persistent true if persistent work is to be checkpointed.
@throws ObjectManagerException | [
"Non",
"blocking",
"request",
"for",
"a",
"checkpoint",
"returns",
"immediately",
".",
"If",
"multiple",
"requests",
"are",
"made",
"this",
"may",
"result",
"in",
"fewer",
"checkpoints",
"than",
"requests",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/ObjectManagerState.java#L1106-L1124 |
110,977 | OpenLiberty/open-liberty | dev/com.ibm.websphere.javaee.el.3.0/src/javax/el/ELContext.java | ELContext.notifyBeforeEvaluation | public void notifyBeforeEvaluation(String expression) {
for (EvaluationListener listener : listeners) {
try {
listener.beforeEvaluation(this, expression);
} catch (Throwable t) {
Util.handleThrowable(t);
// Ignore - no option to log
... | java | public void notifyBeforeEvaluation(String expression) {
for (EvaluationListener listener : listeners) {
try {
listener.beforeEvaluation(this, expression);
} catch (Throwable t) {
Util.handleThrowable(t);
// Ignore - no option to log
... | [
"public",
"void",
"notifyBeforeEvaluation",
"(",
"String",
"expression",
")",
"{",
"for",
"(",
"EvaluationListener",
"listener",
":",
"listeners",
")",
"{",
"try",
"{",
"listener",
".",
"beforeEvaluation",
"(",
"this",
",",
"expression",
")",
";",
"}",
"catch"... | Notify interested listeners that an expression will be evaluated.
@param expression The expression that will be evaluated
@since EL 3.0 | [
"Notify",
"interested",
"listeners",
"that",
"an",
"expression",
"will",
"be",
"evaluated",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.javaee.el.3.0/src/javax/el/ELContext.java#L168-L177 |
110,978 | OpenLiberty/open-liberty | dev/com.ibm.websphere.javaee.el.3.0/src/javax/el/ELContext.java | ELContext.notifyAfterEvaluation | public void notifyAfterEvaluation(String expression) {
for (EvaluationListener listener : listeners) {
try {
listener.afterEvaluation(this, expression);
} catch (Throwable t) {
Util.handleThrowable(t);
// Ignore - no option to log
... | java | public void notifyAfterEvaluation(String expression) {
for (EvaluationListener listener : listeners) {
try {
listener.afterEvaluation(this, expression);
} catch (Throwable t) {
Util.handleThrowable(t);
// Ignore - no option to log
... | [
"public",
"void",
"notifyAfterEvaluation",
"(",
"String",
"expression",
")",
"{",
"for",
"(",
"EvaluationListener",
"listener",
":",
"listeners",
")",
"{",
"try",
"{",
"listener",
".",
"afterEvaluation",
"(",
"this",
",",
"expression",
")",
";",
"}",
"catch",
... | Notify interested listeners that an expression has been evaluated.
@param expression The expression that was evaluated
@since EL 3.0 | [
"Notify",
"interested",
"listeners",
"that",
"an",
"expression",
"has",
"been",
"evaluated",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.javaee.el.3.0/src/javax/el/ELContext.java#L186-L195 |
110,979 | OpenLiberty/open-liberty | dev/com.ibm.websphere.javaee.el.3.0/src/javax/el/ELContext.java | ELContext.notifyPropertyResolved | public void notifyPropertyResolved(Object base, Object property) {
for (EvaluationListener listener : listeners) {
try {
listener.propertyResolved(this, base, property);
} catch (Throwable t) {
Util.handleThrowable(t);
// Ignore - no option... | java | public void notifyPropertyResolved(Object base, Object property) {
for (EvaluationListener listener : listeners) {
try {
listener.propertyResolved(this, base, property);
} catch (Throwable t) {
Util.handleThrowable(t);
// Ignore - no option... | [
"public",
"void",
"notifyPropertyResolved",
"(",
"Object",
"base",
",",
"Object",
"property",
")",
"{",
"for",
"(",
"EvaluationListener",
"listener",
":",
"listeners",
")",
"{",
"try",
"{",
"listener",
".",
"propertyResolved",
"(",
"this",
",",
"base",
",",
... | Notify interested listeners that a property has been resolved.
@param base The object on which the property was resolved
@param property The property that was resolved
@since EL 3.0 | [
"Notify",
"interested",
"listeners",
"that",
"a",
"property",
"has",
"been",
"resolved",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.javaee.el.3.0/src/javax/el/ELContext.java#L205-L214 |
110,980 | OpenLiberty/open-liberty | dev/com.ibm.websphere.javaee.el.3.0/src/javax/el/ELContext.java | ELContext.isLambdaArgument | public boolean isLambdaArgument(String name) {
for (Map<String,Object> arguments : lambdaArguments) {
if (arguments.containsKey(name)) {
return true;
}
}
return false;
} | java | public boolean isLambdaArgument(String name) {
for (Map<String,Object> arguments : lambdaArguments) {
if (arguments.containsKey(name)) {
return true;
}
}
return false;
} | [
"public",
"boolean",
"isLambdaArgument",
"(",
"String",
"name",
")",
"{",
"for",
"(",
"Map",
"<",
"String",
",",
"Object",
">",
"arguments",
":",
"lambdaArguments",
")",
"{",
"if",
"(",
"arguments",
".",
"containsKey",
"(",
"name",
")",
")",
"{",
"return... | Determine if the specified name is recognised as the name of a lambda
argument.
@param name The name of the lambda argument
@return <code>true</code> if the name is recognised as the name of a
lambda argument, otherwise <code>false</code>
@since EL 3.0 | [
"Determine",
"if",
"the",
"specified",
"name",
"is",
"recognised",
"as",
"the",
"name",
"of",
"a",
"lambda",
"argument",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.javaee.el.3.0/src/javax/el/ELContext.java#L227-L234 |
110,981 | OpenLiberty/open-liberty | dev/com.ibm.websphere.javaee.el.3.0/src/javax/el/ELContext.java | ELContext.getLambdaArgument | public Object getLambdaArgument(String name) {
for (Map<String,Object> arguments : lambdaArguments) {
Object result = arguments.get(name);
if (result != null) {
return result;
}
}
return null;
} | java | public Object getLambdaArgument(String name) {
for (Map<String,Object> arguments : lambdaArguments) {
Object result = arguments.get(name);
if (result != null) {
return result;
}
}
return null;
} | [
"public",
"Object",
"getLambdaArgument",
"(",
"String",
"name",
")",
"{",
"for",
"(",
"Map",
"<",
"String",
",",
"Object",
">",
"arguments",
":",
"lambdaArguments",
")",
"{",
"Object",
"result",
"=",
"arguments",
".",
"get",
"(",
"name",
")",
";",
"if",
... | Obtain the value of the lambda argument with the given name.
@param name The name of the lambda argument
@return The value of the specified argument
@since EL 3.0 | [
"Obtain",
"the",
"value",
"of",
"the",
"lambda",
"argument",
"with",
"the",
"given",
"name",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.javaee.el.3.0/src/javax/el/ELContext.java#L245-L253 |
110,982 | OpenLiberty/open-liberty | dev/com.ibm.websphere.javaee.el.3.0/src/javax/el/ELContext.java | ELContext.convertToType | public Object convertToType(Object obj, Class<?> type) {
boolean originalResolved = isPropertyResolved();
setPropertyResolved(false);
try {
ELResolver resolver = getELResolver();
if (resolver != null) {
Object result = resolver.convertToType(this, obj, ty... | java | public Object convertToType(Object obj, Class<?> type) {
boolean originalResolved = isPropertyResolved();
setPropertyResolved(false);
try {
ELResolver resolver = getELResolver();
if (resolver != null) {
Object result = resolver.convertToType(this, obj, ty... | [
"public",
"Object",
"convertToType",
"(",
"Object",
"obj",
",",
"Class",
"<",
"?",
">",
"type",
")",
"{",
"boolean",
"originalResolved",
"=",
"isPropertyResolved",
"(",
")",
";",
"setPropertyResolved",
"(",
"false",
")",
";",
"try",
"{",
"ELResolver",
"resol... | Coerce the supplied object to the requested type.
@param obj The object to be coerced
@param type The type to which the object should be coerced
@return An instance of the requested type.
@throws ELException
If the conversion fails
@since EL 3.0 | [
"Coerce",
"the",
"supplied",
"object",
"to",
"the",
"requested",
"type",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.javaee.el.3.0/src/javax/el/ELContext.java#L290-L307 |
110,983 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsfContainer/src/com/ibm/ws/jsf/container/JSFContainer.java | JSFContainer.tryLoad | public static Class<?> tryLoad(String className) {
try {
return Class.forName(className, false, JSFContainer.class.getClassLoader());
} catch (ClassNotFoundException notFound) {
return null;
}
} | java | public static Class<?> tryLoad(String className) {
try {
return Class.forName(className, false, JSFContainer.class.getClassLoader());
} catch (ClassNotFoundException notFound) {
return null;
}
} | [
"public",
"static",
"Class",
"<",
"?",
">",
"tryLoad",
"(",
"String",
"className",
")",
"{",
"try",
"{",
"return",
"Class",
".",
"forName",
"(",
"className",
",",
"false",
",",
"JSFContainer",
".",
"class",
".",
"getClassLoader",
"(",
")",
")",
";",
"}... | Try to load the given class. If the class is not found, null is returned. | [
"Try",
"to",
"load",
"the",
"given",
"class",
".",
"If",
"the",
"class",
"is",
"not",
"found",
"null",
"is",
"returned",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsfContainer/src/com/ibm/ws/jsf/container/JSFContainer.java#L41-L47 |
110,984 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.feature.core/src/com/ibm/ws/kernel/feature/internal/BundleInstallOriginBundleListener.java | BundleInstallOriginBundleListener.processUninstalledInstallerBundle | private boolean processUninstalledInstallerBundle(String installerBundleLocation) {
//find out if the uninstalled bundle location was an installer bundle and remove its installees as well
Set<String> bundleLocationsToUninstall = bundleOrigins.remove(installerBundleLocation);
if (bundleLocationsT... | java | private boolean processUninstalledInstallerBundle(String installerBundleLocation) {
//find out if the uninstalled bundle location was an installer bundle and remove its installees as well
Set<String> bundleLocationsToUninstall = bundleOrigins.remove(installerBundleLocation);
if (bundleLocationsT... | [
"private",
"boolean",
"processUninstalledInstallerBundle",
"(",
"String",
"installerBundleLocation",
")",
"{",
"//find out if the uninstalled bundle location was an installer bundle and remove its installees as well",
"Set",
"<",
"String",
">",
"bundleLocationsToUninstall",
"=",
"bundl... | Determines if the uninstalled bundle location was an installer bundle and calls for the
removal of any installees associated with it if it was.
@param installerBundleLocation
@return true if the parameter was an installer bundle | [
"Determines",
"if",
"the",
"uninstalled",
"bundle",
"location",
"was",
"an",
"installer",
"bundle",
"and",
"calls",
"for",
"the",
"removal",
"of",
"any",
"installees",
"associated",
"with",
"it",
"if",
"it",
"was",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.feature.core/src/com/ibm/ws/kernel/feature/internal/BundleInstallOriginBundleListener.java#L248-L266 |
110,985 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.feature.core/src/com/ibm/ws/kernel/feature/internal/BundleInstallOriginBundleListener.java | BundleInstallOriginBundleListener.uninstallInstalleeBundles | private Set<String> uninstallInstalleeBundles(Set<String> installeeBundleLocationsToUninstall) {
Set<String> unsuccessfulUninstallLocations = new HashSet<String>();
for (String installeeBundleLocation : installeeBundleLocationsToUninstall) {
Bundle installeeBundleToUninstall = ctx.getBundle(... | java | private Set<String> uninstallInstalleeBundles(Set<String> installeeBundleLocationsToUninstall) {
Set<String> unsuccessfulUninstallLocations = new HashSet<String>();
for (String installeeBundleLocation : installeeBundleLocationsToUninstall) {
Bundle installeeBundleToUninstall = ctx.getBundle(... | [
"private",
"Set",
"<",
"String",
">",
"uninstallInstalleeBundles",
"(",
"Set",
"<",
"String",
">",
"installeeBundleLocationsToUninstall",
")",
"{",
"Set",
"<",
"String",
">",
"unsuccessfulUninstallLocations",
"=",
"new",
"HashSet",
"<",
"String",
">",
"(",
")",
... | Iterates a set of installee bundles attempting to uninstall them.
@param installeeBundleLocationsToUninstall
@return Set of bundle locations that could not be uninstalled | [
"Iterates",
"a",
"set",
"of",
"installee",
"bundles",
"attempting",
"to",
"uninstall",
"them",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.feature.core/src/com/ibm/ws/kernel/feature/internal/BundleInstallOriginBundleListener.java#L274-L293 |
110,986 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/stat/RangeStatisticImpl.java | RangeStatisticImpl.updateWaterMark | final private void updateWaterMark() {
if (initWaterMark) {
if (current < lowWaterMark)
lowWaterMark = current;
if (current > highWaterMark)
highWaterMark = current;
} else {
lowWaterMark = highWaterMark = current;
initWate... | java | final private void updateWaterMark() {
if (initWaterMark) {
if (current < lowWaterMark)
lowWaterMark = current;
if (current > highWaterMark)
highWaterMark = current;
} else {
lowWaterMark = highWaterMark = current;
initWate... | [
"final",
"private",
"void",
"updateWaterMark",
"(",
")",
"{",
"if",
"(",
"initWaterMark",
")",
"{",
"if",
"(",
"current",
"<",
"lowWaterMark",
")",
"lowWaterMark",
"=",
"current",
";",
"if",
"(",
"current",
">",
"highWaterMark",
")",
"highWaterMark",
"=",
... | Internal final method for perfOptimization | [
"Internal",
"final",
"method",
"for",
"perfOptimization"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/stat/RangeStatisticImpl.java#L144-L155 |
110,987 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/stat/RangeStatisticImpl.java | RangeStatisticImpl.incrementWithoutSync | final public void incrementWithoutSync(long curTime, long val) {
if (enabled) {
lastSampleTime = updateIntegral(curTime);
current += val;
updateWaterMark();
} else {
current += val;
}
} | java | final public void incrementWithoutSync(long curTime, long val) {
if (enabled) {
lastSampleTime = updateIntegral(curTime);
current += val;
updateWaterMark();
} else {
current += val;
}
} | [
"final",
"public",
"void",
"incrementWithoutSync",
"(",
"long",
"curTime",
",",
"long",
"val",
")",
"{",
"if",
"(",
"enabled",
")",
"{",
"lastSampleTime",
"=",
"updateIntegral",
"(",
"curTime",
")",
";",
"current",
"+=",
"val",
";",
"updateWaterMark",
"(",
... | the caller of this method should be in synchronization block | [
"the",
"caller",
"of",
"this",
"method",
"should",
"be",
"in",
"synchronization",
"block"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/stat/RangeStatisticImpl.java#L251-L259 |
110,988 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/stat/RangeStatisticImpl.java | RangeStatisticImpl.decrementWithSyncFlag | final public void decrementWithSyncFlag(long curTime, long val) {
if (enabled) {
lastSampleTime = updateIntegral(curTime);
if (sync) {
synchronized (this) {
current -= val;
}
} else {
current -= val;
... | java | final public void decrementWithSyncFlag(long curTime, long val) {
if (enabled) {
lastSampleTime = updateIntegral(curTime);
if (sync) {
synchronized (this) {
current -= val;
}
} else {
current -= val;
... | [
"final",
"public",
"void",
"decrementWithSyncFlag",
"(",
"long",
"curTime",
",",
"long",
"val",
")",
"{",
"if",
"(",
"enabled",
")",
"{",
"lastSampleTime",
"=",
"updateIntegral",
"(",
"curTime",
")",
";",
"if",
"(",
"sync",
")",
"{",
"synchronized",
"(",
... | synchronize ONLY if "synchronized update" flag is enabled | [
"synchronize",
"ONLY",
"if",
"synchronized",
"update",
"flag",
"is",
"enabled"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/stat/RangeStatisticImpl.java#L335-L352 |
110,989 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/DataDescriptor.java | DataDescriptor.getType | public int getType(int pathLength) {
if (type == TYPE_INVALID || dataPath == null || pathLength >= dataPath.length)
return TYPE_INVALID;
if (pathLength == 1)
return TYPE_MODULE;
else
return TYPE_COLLECTION;
} | java | public int getType(int pathLength) {
if (type == TYPE_INVALID || dataPath == null || pathLength >= dataPath.length)
return TYPE_INVALID;
if (pathLength == 1)
return TYPE_MODULE;
else
return TYPE_COLLECTION;
} | [
"public",
"int",
"getType",
"(",
"int",
"pathLength",
")",
"{",
"if",
"(",
"type",
"==",
"TYPE_INVALID",
"||",
"dataPath",
"==",
"null",
"||",
"pathLength",
">=",
"dataPath",
".",
"length",
")",
"return",
"TYPE_INVALID",
";",
"if",
"(",
"pathLength",
"==",... | This method should be rewritten if we allow arbitrary module structure | [
"This",
"method",
"should",
"be",
"rewritten",
"if",
"we",
"allow",
"arbitrary",
"module",
"structure"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/DataDescriptor.java#L191-L199 |
110,990 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/DataDescriptor.java | DataDescriptor.isSamePath | public boolean isSamePath(DataDescriptor other) {
if (other == null)
return false;
if (type == TYPE_INVALID || other.getType() == TYPE_INVALID)
return false;
if (type != other.getType())
return false;
if (dataPath == null || other.getPath() == null)
... | java | public boolean isSamePath(DataDescriptor other) {
if (other == null)
return false;
if (type == TYPE_INVALID || other.getType() == TYPE_INVALID)
return false;
if (type != other.getType())
return false;
if (dataPath == null || other.getPath() == null)
... | [
"public",
"boolean",
"isSamePath",
"(",
"DataDescriptor",
"other",
")",
"{",
"if",
"(",
"other",
"==",
"null",
")",
"return",
"false",
";",
"if",
"(",
"type",
"==",
"TYPE_INVALID",
"||",
"other",
".",
"getType",
"(",
")",
"==",
"TYPE_INVALID",
")",
"retu... | Returns true if this descriptor has same path
same type, same moduleName, instanceName, and dataId as the other DataDescriptor. | [
"Returns",
"true",
"if",
"this",
"descriptor",
"has",
"same",
"path",
"same",
"type",
"same",
"moduleName",
"instanceName",
"and",
"dataId",
"as",
"the",
"other",
"DataDescriptor",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/DataDescriptor.java#L241-L259 |
110,991 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/DataDescriptor.java | DataDescriptor.isDescendant | public boolean isDescendant(DataDescriptor other) {
if (other == null)
return false;
if (type == TYPE_INVALID || other.getType() == TYPE_INVALID)
return false;
String[] otherPath = other.getPath();
if (otherPath.length >= dataPath.length)
return fals... | java | public boolean isDescendant(DataDescriptor other) {
if (other == null)
return false;
if (type == TYPE_INVALID || other.getType() == TYPE_INVALID)
return false;
String[] otherPath = other.getPath();
if (otherPath.length >= dataPath.length)
return fals... | [
"public",
"boolean",
"isDescendant",
"(",
"DataDescriptor",
"other",
")",
"{",
"if",
"(",
"other",
"==",
"null",
")",
"return",
"false",
";",
"if",
"(",
"type",
"==",
"TYPE_INVALID",
"||",
"other",
".",
"getType",
"(",
")",
"==",
"TYPE_INVALID",
")",
"re... | Returns true if this descriptor is descendant of other descriptor | [
"Returns",
"true",
"if",
"this",
"descriptor",
"is",
"descendant",
"of",
"other",
"descriptor"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/DataDescriptor.java#L264-L280 |
110,992 | OpenLiberty/open-liberty | dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/DataDescriptor.java | DataDescriptor.parentDescriptor | public DataDescriptor parentDescriptor() {
if (type == TYPE_INVALID) {
return null;
} else if (dataIds != null) {
return new DataDescriptor(dataPath);
} else {
if (dataPath.length == 1)
return null;
String[] myPath = new String[data... | java | public DataDescriptor parentDescriptor() {
if (type == TYPE_INVALID) {
return null;
} else if (dataIds != null) {
return new DataDescriptor(dataPath);
} else {
if (dataPath.length == 1)
return null;
String[] myPath = new String[data... | [
"public",
"DataDescriptor",
"parentDescriptor",
"(",
")",
"{",
"if",
"(",
"type",
"==",
"TYPE_INVALID",
")",
"{",
"return",
"null",
";",
"}",
"else",
"if",
"(",
"dataIds",
"!=",
"null",
")",
"{",
"return",
"new",
"DataDescriptor",
"(",
"dataPath",
")",
"... | Returns the parentDescriptor | [
"Returns",
"the",
"parentDescriptor"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.monitor/src/com/ibm/ws/pmi/server/DataDescriptor.java#L285-L297 |
110,993 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaManagedConnectionFactory.java | SibRaManagedConnectionFactory.createConnectionFactory | public Object createConnectionFactory(
final ConnectionManager connectionManager) {
if (TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, "createConnectionFactory",
connectionManager);
}
final Object connectionFactory = new SibRaConnectionFactory(th... | java | public Object createConnectionFactory(
final ConnectionManager connectionManager) {
if (TRACE.isEntryEnabled()) {
SibTr.entry(this, TRACE, "createConnectionFactory",
connectionManager);
}
final Object connectionFactory = new SibRaConnectionFactory(th... | [
"public",
"Object",
"createConnectionFactory",
"(",
"final",
"ConnectionManager",
"connectionManager",
")",
"{",
"if",
"(",
"TRACE",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"this",
",",
"TRACE",
",",
"\"createConnectionFactory\"",
... | Creates a core SPI connection factory that will use the given connection
manager to create connections.
@param connectionManager
the connection manager | [
"Creates",
"a",
"core",
"SPI",
"connection",
"factory",
"that",
"will",
"use",
"the",
"given",
"connection",
"manager",
"to",
"create",
"connections",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.common/src/com/ibm/ws/sib/ra/impl/SibRaManagedConnectionFactory.java#L109-L126 |
110,994 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/WriteableLogRecord.java | WriteableLogRecord.put | protected void put(byte[] bytes)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "put", new Object[] {RLSUtils.toHexString(bytes, RLSUtils.MAX_DISPLAY_BYTES), this});
if (tc.isDebugEnabled()) Tr.debug(tc, "Writing at position " + _buffer.position());
_buffer.put(bytes);
if (tc.isE... | java | protected void put(byte[] bytes)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "put", new Object[] {RLSUtils.toHexString(bytes, RLSUtils.MAX_DISPLAY_BYTES), this});
if (tc.isDebugEnabled()) Tr.debug(tc, "Writing at position " + _buffer.position());
_buffer.put(bytes);
if (tc.isE... | [
"protected",
"void",
"put",
"(",
"byte",
"[",
"]",
"bytes",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"put\"",
",",
"new",
"Object",
"[",
"]",
"{",
"RLSUtils",
".",
"toHexString",
"(",
... | Setter method used to write bytes.length bytes from the buffer into the mapped
byte buffer at the current byte cursor position. The byte cursor is advanced by
bytes.length.
@param bytes The source byte array from which the bytes will be written. | [
"Setter",
"method",
"used",
"to",
"write",
"bytes",
".",
"length",
"bytes",
"from",
"the",
"buffer",
"into",
"the",
"mapped",
"byte",
"buffer",
"at",
"the",
"current",
"byte",
"cursor",
"position",
".",
"The",
"byte",
"cursor",
"is",
"advanced",
"by",
"byt... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/WriteableLogRecord.java#L86-L95 |
110,995 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/WriteableLogRecord.java | WriteableLogRecord.putInt | protected void putInt(int data)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "putInt", new Object[] { this, new Integer(data)});
if (tc.isDebugEnabled()) Tr.debug(tc, "Writing at position " + _buffer.position());
_buffer.putInt(data);
if (tc.isEntryEnabled()) Tr.exit(tc, "putIn... | java | protected void putInt(int data)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "putInt", new Object[] { this, new Integer(data)});
if (tc.isDebugEnabled()) Tr.debug(tc, "Writing at position " + _buffer.position());
_buffer.putInt(data);
if (tc.isEntryEnabled()) Tr.exit(tc, "putIn... | [
"protected",
"void",
"putInt",
"(",
"int",
"data",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"putInt\"",
",",
"new",
"Object",
"[",
"]",
"{",
"this",
",",
"new",
"Integer",
"(",
"data",
... | Setter method used to write an integer to the mapped byte buffer at the current
byte cursor position. The byte cursor is advanced by the size of an integer.
@param data The int value to be written. | [
"Setter",
"method",
"used",
"to",
"write",
"an",
"integer",
"to",
"the",
"mapped",
"byte",
"buffer",
"at",
"the",
"current",
"byte",
"cursor",
"position",
".",
"The",
"byte",
"cursor",
"is",
"advanced",
"by",
"the",
"size",
"of",
"an",
"integer",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/WriteableLogRecord.java#L106-L115 |
110,996 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/WriteableLogRecord.java | WriteableLogRecord.putLong | protected void putLong(long data)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "putLong", new Object[] { this, new Long(data)});
if (tc.isDebugEnabled()) Tr.debug(tc, "Writing at position " + _buffer.position());
_buffer.putLong(data);
if (tc.isEntryEnabled()) Tr.exit(tc, "putLong");
... | java | protected void putLong(long data)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "putLong", new Object[] { this, new Long(data)});
if (tc.isDebugEnabled()) Tr.debug(tc, "Writing at position " + _buffer.position());
_buffer.putLong(data);
if (tc.isEntryEnabled()) Tr.exit(tc, "putLong");
... | [
"protected",
"void",
"putLong",
"(",
"long",
"data",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"putLong\"",
",",
"new",
"Object",
"[",
"]",
"{",
"this",
",",
"new",
"Long",
"(",
"data",
... | Setter method used to write a long to the mapped byte buffer at the current
byte cursor position. The byte cursor is advanced by the size of a long.
@param data The long value to be written. | [
"Setter",
"method",
"used",
"to",
"write",
"a",
"long",
"to",
"the",
"mapped",
"byte",
"buffer",
"at",
"the",
"current",
"byte",
"cursor",
"position",
".",
"The",
"byte",
"cursor",
"is",
"advanced",
"by",
"the",
"size",
"of",
"a",
"long",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/WriteableLogRecord.java#L126-L134 |
110,997 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/WriteableLogRecord.java | WriteableLogRecord.putShort | protected void putShort(short data)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "putShort", new Object[] { this, new Short(data)});
if (tc.isDebugEnabled()) Tr.debug(tc, "Writing at position " + _buffer.position());
_buffer.putShort(data);
if (tc.isEntryEnabled()) Tr.exit(tc, "putShort... | java | protected void putShort(short data)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "putShort", new Object[] { this, new Short(data)});
if (tc.isDebugEnabled()) Tr.debug(tc, "Writing at position " + _buffer.position());
_buffer.putShort(data);
if (tc.isEntryEnabled()) Tr.exit(tc, "putShort... | [
"protected",
"void",
"putShort",
"(",
"short",
"data",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"putShort\"",
",",
"new",
"Object",
"[",
"]",
"{",
"this",
",",
"new",
"Short",
"(",
"data... | Setter method used to write a short to the mapped byte buffer at the current
byte cursor position. The byte cursor is advanced by the size of a short.
@param data The short value to be written. | [
"Setter",
"method",
"used",
"to",
"write",
"a",
"short",
"to",
"the",
"mapped",
"byte",
"buffer",
"at",
"the",
"current",
"byte",
"cursor",
"position",
".",
"The",
"byte",
"cursor",
"is",
"advanced",
"by",
"the",
"size",
"of",
"a",
"short",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/WriteableLogRecord.java#L145-L153 |
110,998 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/WriteableLogRecord.java | WriteableLogRecord.putBoolean | protected void putBoolean(boolean data)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "putBoolean", new Object[] { this, new Boolean(data)});
if (tc.isDebugEnabled()) Tr.debug(tc, "Writing at position " + _buffer.position());
_buffer.put(data ? TRUE : FALSE);
if (tc.isEntryEnabled()) Tr.... | java | protected void putBoolean(boolean data)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "putBoolean", new Object[] { this, new Boolean(data)});
if (tc.isDebugEnabled()) Tr.debug(tc, "Writing at position " + _buffer.position());
_buffer.put(data ? TRUE : FALSE);
if (tc.isEntryEnabled()) Tr.... | [
"protected",
"void",
"putBoolean",
"(",
"boolean",
"data",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"putBoolean\"",
",",
"new",
"Object",
"[",
"]",
"{",
"this",
",",
"new",
"Boolean",
"(",... | Setter method used to write a boolean to the mapped byte buffer at the current
byte cursor position. The byte cursor is advanced by the size of a boolean.
@param data The boolean value to be written. | [
"Setter",
"method",
"used",
"to",
"write",
"a",
"boolean",
"to",
"the",
"mapped",
"byte",
"buffer",
"at",
"the",
"current",
"byte",
"cursor",
"position",
".",
"The",
"byte",
"cursor",
"is",
"advanced",
"by",
"the",
"size",
"of",
"a",
"boolean",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/WriteableLogRecord.java#L164-L172 |
110,999 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/WriteableLogRecord.java | WriteableLogRecord.close | protected void close()
{
if (tc.isEntryEnabled()) Tr.entry(tc, "close", this);
_buffer.putLong(_sequenceNumber);
if (tc.isEntryEnabled()) Tr.exit(tc, "close");
} | java | protected void close()
{
if (tc.isEntryEnabled()) Tr.entry(tc, "close", this);
_buffer.putLong(_sequenceNumber);
if (tc.isEntryEnabled()) Tr.exit(tc, "close");
} | [
"protected",
"void",
"close",
"(",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"close\"",
",",
"this",
")",
";",
"_buffer",
".",
"putLong",
"(",
"_sequenceNumber",
")",
";",
"if",
"(",
"tc"... | Close the WritableLogRecord. Creates the record tail sructure. On exit from
this method, the buffers byte cursor will be positioned on the very next byte
after the log record. No further access to this instance is permitted after
this call has been issued. | [
"Close",
"the",
"WritableLogRecord",
".",
"Creates",
"the",
"record",
"tail",
"sructure",
".",
"On",
"exit",
"from",
"this",
"method",
"the",
"buffers",
"byte",
"cursor",
"will",
"be",
"positioned",
"on",
"the",
"very",
"next",
"byte",
"after",
"the",
"log",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/WriteableLogRecord.java#L183-L190 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.