id int32 0 165k | repo stringlengths 7 58 | path stringlengths 12 218 | func_name stringlengths 3 140 | original_string stringlengths 73 34.1k | language stringclasses 1
value | code stringlengths 73 34.1k | code_tokens list | docstring stringlengths 3 16k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 105 339 |
|---|---|---|---|---|---|---|---|---|---|---|---|
70,800 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanReaper.java | StatefulBeanReaper.dump | public void dump() {
if (dumped) {
return;
}
try {
Tr.dump(tc, "-- StatefulBeanReaper Dump -- ", this);
synchronized (this) {
Tr.dump(tc, "Number of objects: " + this.numObjects);
Tr.dump(tc, "Number of adds: " + ... | java | public void dump() {
if (dumped) {
return;
}
try {
Tr.dump(tc, "-- StatefulBeanReaper Dump -- ", this);
synchronized (this) {
Tr.dump(tc, "Number of objects: " + this.numObjects);
Tr.dump(tc, "Number of adds: " + ... | [
"public",
"void",
"dump",
"(",
")",
"{",
"if",
"(",
"dumped",
")",
"{",
"return",
";",
"}",
"try",
"{",
"Tr",
".",
"dump",
"(",
"tc",
",",
"\"-- StatefulBeanReaper Dump -- \"",
",",
"this",
")",
";",
"synchronized",
"(",
"this",
")",
"{",
"Tr",
".",
... | Dump the internal state of the cache | [
"Dump",
"the",
"internal",
"state",
"of",
"the",
"cache"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanReaper.java#L446-L464 |
70,801 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanReaper.java | StatefulBeanReaper.cancel | public synchronized void cancel() // d583637
{
ivIsCanceled = true;
stopAlarm();
// F743-33394 - Wait for the sweep to finish.
while (ivIsRunning) {
try {
wait();
} catch (InterruptedException ex) {
if (TraceComponent.isAnyTrac... | java | public synchronized void cancel() // d583637
{
ivIsCanceled = true;
stopAlarm();
// F743-33394 - Wait for the sweep to finish.
while (ivIsRunning) {
try {
wait();
} catch (InterruptedException ex) {
if (TraceComponent.isAnyTrac... | [
"public",
"synchronized",
"void",
"cancel",
"(",
")",
"// d583637",
"{",
"ivIsCanceled",
"=",
"true",
";",
"stopAlarm",
"(",
")",
";",
"// F743-33394 - Wait for the sweep to finish.",
"while",
"(",
"ivIsRunning",
")",
"{",
"try",
"{",
"wait",
"(",
")",
";",
"}... | Cancel this alarm | [
"Cancel",
"this",
"alarm"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/StatefulBeanReaper.java#L504-L521 |
70,802 | OpenLiberty/open-liberty | dev/com.ibm.ws.session/src/com/ibm/ws/webcontainer/httpsession/SessionMgrComponentImpl.java | SessionMgrComponentImpl.getServerId | private String getServerId() {
UUID fullServerId = null;
WsLocationAdmin locationService = this.wsLocationAdmin;
if (locationService != null) {
fullServerId = locationService.getServerId();
}
if (fullServerId == null) {
fullServerId = UUID.randomUUID(); //... | java | private String getServerId() {
UUID fullServerId = null;
WsLocationAdmin locationService = this.wsLocationAdmin;
if (locationService != null) {
fullServerId = locationService.getServerId();
}
if (fullServerId == null) {
fullServerId = UUID.randomUUID(); //... | [
"private",
"String",
"getServerId",
"(",
")",
"{",
"UUID",
"fullServerId",
"=",
"null",
";",
"WsLocationAdmin",
"locationService",
"=",
"this",
".",
"wsLocationAdmin",
";",
"if",
"(",
"locationService",
"!=",
"null",
")",
"{",
"fullServerId",
"=",
"locationServi... | Derives a unique identifier for the current server.
The result of this method is used to create a cloneId.
@return a unique identifier for the current server (in lower case) | [
"Derives",
"a",
"unique",
"identifier",
"for",
"the",
"current",
"server",
".",
"The",
"result",
"of",
"this",
"method",
"is",
"used",
"to",
"create",
"a",
"cloneId",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session/src/com/ibm/ws/webcontainer/httpsession/SessionMgrComponentImpl.java#L147-L157 |
70,803 | OpenLiberty/open-liberty | dev/com.ibm.ws.session/src/com/ibm/ws/webcontainer/httpsession/SessionMgrComponentImpl.java | SessionMgrComponentImpl.initialize | private void initialize() {
if(this.initialized) {
return;
}
if (LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.INFO)) {
if (this.sessionStoreService==null) {
LoggingUtil.SESSION_LOGGER_CORE.logp(Level.INFO, methodClassName, "initialize", "SessionMgrComp... | java | private void initialize() {
if(this.initialized) {
return;
}
if (LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.INFO)) {
if (this.sessionStoreService==null) {
LoggingUtil.SESSION_LOGGER_CORE.logp(Level.INFO, methodClassName, "initialize", "SessionMgrComp... | [
"private",
"void",
"initialize",
"(",
")",
"{",
"if",
"(",
"this",
".",
"initialized",
")",
"{",
"return",
";",
"}",
"if",
"(",
"LoggingUtil",
".",
"SESSION_LOGGER_CORE",
".",
"isLoggable",
"(",
"Level",
".",
"INFO",
")",
")",
"{",
"if",
"(",
"this",
... | Delay initialization until a public method of this service is called | [
"Delay",
"initialization",
"until",
"a",
"public",
"method",
"of",
"this",
"service",
"is",
"called"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.session/src/com/ibm/ws/webcontainer/httpsession/SessionMgrComponentImpl.java#L207-L256 |
70,804 | OpenLiberty/open-liberty | dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/jta/embeddable/impl/EmbeddableTranManagerSet.java | EmbeddableTranManagerSet.startInactivityTimer | public boolean startInactivityTimer (Transaction t, InactivityTimer iat)
{
if (t != null)
return ((EmbeddableTransactionImpl) t).startInactivityTimer(iat);
return false;
} | java | public boolean startInactivityTimer (Transaction t, InactivityTimer iat)
{
if (t != null)
return ((EmbeddableTransactionImpl) t).startInactivityTimer(iat);
return false;
} | [
"public",
"boolean",
"startInactivityTimer",
"(",
"Transaction",
"t",
",",
"InactivityTimer",
"iat",
")",
"{",
"if",
"(",
"t",
"!=",
"null",
")",
"return",
"(",
"(",
"EmbeddableTransactionImpl",
")",
"t",
")",
".",
"startInactivityTimer",
"(",
"iat",
")",
";... | Start an inactivity timer and call alarm method of parameter when
timeout expires.
Returns false if transaction is not active.
@param t Transaction associated with this timer.
@param iat callback object to be notified when timer expires.
@return boolean to indicate whether timer started | [
"Start",
"an",
"inactivity",
"timer",
"and",
"call",
"alarm",
"method",
"of",
"parameter",
"when",
"timeout",
"expires",
".",
"Returns",
"false",
"if",
"transaction",
"is",
"not",
"active",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/jta/embeddable/impl/EmbeddableTranManagerSet.java#L86-L92 |
70,805 | OpenLiberty/open-liberty | dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/jta/embeddable/impl/EmbeddableTranManagerSet.java | EmbeddableTranManagerSet.registerSynchronization | public void registerSynchronization(UOWCoordinator coord,
Synchronization sync)
throws RollbackException, IllegalStateException, SystemException
{
registerSynchronization(coord, sync, EmbeddableWebSphereTransactionManager.SYNC_TIER_NORMAL);
} | java | public void registerSynchronization(UOWCoordinator coord,
Synchronization sync)
throws RollbackException, IllegalStateException, SystemException
{
registerSynchronization(coord, sync, EmbeddableWebSphereTransactionManager.SYNC_TIER_NORMAL);
} | [
"public",
"void",
"registerSynchronization",
"(",
"UOWCoordinator",
"coord",
",",
"Synchronization",
"sync",
")",
"throws",
"RollbackException",
",",
"IllegalStateException",
",",
"SystemException",
"{",
"registerSynchronization",
"(",
"coord",
",",
"sync",
",",
"Embedd... | Method to register synchronization object with JTA tran via UOWCoordinator
for improved performance.
@param coord UOWCoordinator previously obtained from UOWCurrent.
@param sync Synchronization object to be registered.
We should deprecate this now that UOWCoordinator is a javax...Transaction | [
"Method",
"to",
"register",
"synchronization",
"object",
"with",
"JTA",
"tran",
"via",
"UOWCoordinator",
"for",
"improved",
"performance",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.tx.embeddable/src/com/ibm/tx/jta/embeddable/impl/EmbeddableTranManagerSet.java#L212-L217 |
70,806 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.setDestName | void setDestName(String destName) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setDestName", destName);
if ((null == destName) || ("".equals(destName))) {
// d238447 FFDC review. More likely to be an external rathe... | java | void setDestName(String destName) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setDestName", destName);
if ((null == destName) || ("".equals(destName))) {
// d238447 FFDC review. More likely to be an external rathe... | [
"void",
"setDestName",
"(",
"String",
"destName",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
... | setDestName
Set the destName for this Destination.
@param destName The value for the destName
@exception JMSException Thrown if the destName is null or blank | [
"setDestName",
"Set",
"the",
"destName",
"for",
"this",
"Destination",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L215-L238 |
70,807 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.setDestDiscrim | void setDestDiscrim(String destDiscrim) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setDestDiscrim", destDiscrim);
updateProperty(DEST_DISCRIM, destDiscrim);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
S... | java | void setDestDiscrim(String destDiscrim) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setDestDiscrim", destDiscrim);
updateProperty(DEST_DISCRIM, destDiscrim);
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
S... | [
"void",
"setDestDiscrim",
"(",
"String",
"destDiscrim",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"setDestDiscrim\"",
... | setDestDiscrim
Set the destDiscrim for this Destination.
@param destDiscrim The value for the destDiscrim | [
"setDestDiscrim",
"Set",
"the",
"destDiscrim",
"for",
"this",
"Destination",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L261-L269 |
70,808 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.getReplyReliability | protected Reliability getReplyReliability() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getReplyReliability");
Reliability result = null;
if (replyReliabilityByte != -1) {
result = Reliability.getReliability(replyReliabilityBy... | java | protected Reliability getReplyReliability() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getReplyReliability");
Reliability result = null;
if (replyReliabilityByte != -1) {
result = Reliability.getReliability(replyReliabilityBy... | [
"protected",
"Reliability",
"getReplyReliability",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getReplyReliability\""... | Get the reply reliability to use for reply mesages on a replyTo destination
@return the reply reliability | [
"Get",
"the",
"reply",
"reliability",
"to",
"use",
"for",
"reply",
"mesages",
"on",
"a",
"replyTo",
"destination"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L521-L531 |
70,809 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.setReplyReliability | protected void setReplyReliability(Reliability replyReliability) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setReplyReliability", replyReliability);
this.replyReliabilityByte = replyReliability.toByte();
if (TraceComponent.isAnyTracingEn... | java | protected void setReplyReliability(Reliability replyReliability) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setReplyReliability", replyReliability);
this.replyReliabilityByte = replyReliability.toByte();
if (TraceComponent.isAnyTracingEn... | [
"protected",
"void",
"setReplyReliability",
"(",
"Reliability",
"replyReliability",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
... | Set the reliability to use for reply messages on a replyTo destination
@param replyReliability The value to be set into this Destination. | [
"Set",
"the",
"reliability",
"to",
"use",
"for",
"reply",
"messages",
"on",
"a",
"replyTo",
"destination"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L538-L544 |
70,810 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.isProducerTypeCheck | protected boolean isProducerTypeCheck() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "isProducerTypeCheck");
boolean checking = true;
// We can carry out checking if there is no FRP, or the FRP has 0 size.
StringArrayWrapper frp = ... | java | protected boolean isProducerTypeCheck() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "isProducerTypeCheck");
boolean checking = true;
// We can carry out checking if there is no FRP, or the FRP has 0 size.
StringArrayWrapper frp = ... | [
"protected",
"boolean",
"isProducerTypeCheck",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"isProducerTypeCheck\"",
... | This method informs us whether we can carry out type checking on
the producer connect call. | [
"This",
"method",
"informs",
"us",
"whether",
"we",
"can",
"carry",
"out",
"type",
"checking",
"on",
"the",
"producer",
"connect",
"call",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L619-L635 |
70,811 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.getProducerDestName | protected String getProducerDestName() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getProducerDestName");
String pDestName = null;
// Get the forward routing path.
StringArrayWrapper frp = (StringArrayWrapper) properties.get(FOR... | java | protected String getProducerDestName() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getProducerDestName");
String pDestName = null;
// Get the forward routing path.
StringArrayWrapper frp = (StringArrayWrapper) properties.get(FOR... | [
"protected",
"String",
"getProducerDestName",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"getProducerDestName\"",
"... | This method returns the name of the destination to which producers should
attach when sending messages via this JMS destination.
For a simple case this will be the same as the original destName, however
if a forward routing path is present it will return the name of the first
element in the forward routing path. | [
"This",
"method",
"returns",
"the",
"name",
"of",
"the",
"destination",
"to",
"which",
"producers",
"should",
"attach",
"when",
"sending",
"messages",
"via",
"this",
"JMS",
"destination",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L645-L685 |
70,812 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.getConsumerDestName | protected String getConsumerDestName() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getConsumerDestName");
String cDestName = getDestName();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
... | java | protected String getConsumerDestName() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getConsumerDestName");
String cDestName = getDestName();
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
... | [
"protected",
"String",
"getConsumerDestName",
"(",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
... | This method returns the name of the destination to which consumers should
attach when receiving messages using this JMS destination.
In the simple case this is the same as the original destName, however if
a reverse routing path is present this method returns the name at the end
of the logical forward routing path. (T... | [
"This",
"method",
"returns",
"the",
"name",
"of",
"the",
"destination",
"to",
"which",
"consumers",
"should",
"attach",
"when",
"receiving",
"messages",
"using",
"this",
"JMS",
"destination",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L698-L707 |
70,813 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.getCopyOfProperties | Map<String, Object> getCopyOfProperties() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getCopyOfProperties");
Map<String, Object> temp = null;
// Make sure no-one changes the properties underneath us.
synchronized (properties) {
... | java | Map<String, Object> getCopyOfProperties() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getCopyOfProperties");
Map<String, Object> temp = null;
// Make sure no-one changes the properties underneath us.
synchronized (properties) {
... | [
"Map",
"<",
"String",
",",
"Object",
">",
"getCopyOfProperties",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"... | Creates a new Map object and duplicates the properties into the new Map.
Note that it does not _copy_ the parameter keys and values so if the map
contains objects which are mutable you may get strange behaviour.
In short - only use immutable objects for keys and values!
This method is used by MsgDestEncodingUtilsImpl ... | [
"Creates",
"a",
"new",
"Map",
"object",
"and",
"duplicates",
"the",
"properties",
"into",
"the",
"new",
"Map",
".",
"Note",
"that",
"it",
"does",
"not",
"_copy_",
"the",
"parameter",
"keys",
"and",
"values",
"so",
"if",
"the",
"map",
"contains",
"objects",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L717-L731 |
70,814 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.getConvertedFRP | protected List getConvertedFRP() {
List theList = null;
StringArrayWrapper saw = (StringArrayWrapper) properties.get(FORWARD_ROUTING_PATH);
if (saw != null) {
// This list is the forward routing path for the message.
theList = saw.getMsgForwardRoutingPath();
}
... | java | protected List getConvertedFRP() {
List theList = null;
StringArrayWrapper saw = (StringArrayWrapper) properties.get(FORWARD_ROUTING_PATH);
if (saw != null) {
// This list is the forward routing path for the message.
theList = saw.getMsgForwardRoutingPath();
}
... | [
"protected",
"List",
"getConvertedFRP",
"(",
")",
"{",
"List",
"theList",
"=",
"null",
";",
"StringArrayWrapper",
"saw",
"=",
"(",
"StringArrayWrapper",
")",
"properties",
".",
"get",
"(",
"FORWARD_ROUTING_PATH",
")",
";",
"if",
"(",
"saw",
"!=",
"null",
")"... | This method returns the "List containing SIDestinationAddress" form of the
forward routing path that will be set into the message.
Note that this takes the 'big' destination as being the end of the forward
routing path. | [
"This",
"method",
"returns",
"the",
"List",
"containing",
"SIDestinationAddress",
"form",
"of",
"the",
"forward",
"routing",
"path",
"that",
"will",
"be",
"set",
"into",
"the",
"message",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L849-L858 |
70,815 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.getConvertedRRP | protected List getConvertedRRP() {
List theList = null;
StringArrayWrapper saw = (StringArrayWrapper) properties.get(REVERSE_ROUTING_PATH);
if (saw != null)
theList = saw.getCorePath();
return theList;
} | java | protected List getConvertedRRP() {
List theList = null;
StringArrayWrapper saw = (StringArrayWrapper) properties.get(REVERSE_ROUTING_PATH);
if (saw != null)
theList = saw.getCorePath();
return theList;
} | [
"protected",
"List",
"getConvertedRRP",
"(",
")",
"{",
"List",
"theList",
"=",
"null",
";",
"StringArrayWrapper",
"saw",
"=",
"(",
"StringArrayWrapper",
")",
"properties",
".",
"get",
"(",
"REVERSE_ROUTING_PATH",
")",
";",
"if",
"(",
"saw",
"!=",
"null",
")"... | This method returns the "List containing SIDestinationAddress" form of the
reverse routing path. | [
"This",
"method",
"returns",
"the",
"List",
"containing",
"SIDestinationAddress",
"form",
"of",
"the",
"reverse",
"routing",
"path",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L864-L871 |
70,816 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.getProducerSIDestinationAddress | protected SIDestinationAddress getProducerSIDestinationAddress() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getProducerSIDestinationAddress");
if (producerDestinationAddress == null) {
if (TraceComponent.isAnyTra... | java | protected SIDestinationAddress getProducerSIDestinationAddress() throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getProducerSIDestinationAddress");
if (producerDestinationAddress == null) {
if (TraceComponent.isAnyTra... | [
"protected",
"SIDestinationAddress",
"getProducerSIDestinationAddress",
"(",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this"... | This method provides access to the cached SIDestinationAddress object for
this JmsDestination.
Parts of the JMS implementation that wish to obtain an SIDestinationAddress
object for use with the coreSPI should call this method rather than creating
their own new one in situations where it is might be possible to reuse ... | [
"This",
"method",
"provides",
"access",
"to",
"the",
"cached",
"SIDestinationAddress",
"object",
"for",
"this",
"JmsDestination",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L882-L916 |
70,817 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.isLocalOnly | protected boolean isLocalOnly() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "isLocalOnly");
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(this, tc, "isLocalOnly", false);
return false;
} | java | protected boolean isLocalOnly() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "isLocalOnly");
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(this, tc, "isLocalOnly", false);
return false;
} | [
"protected",
"boolean",
"isLocalOnly",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"isLocalOnly\"",
")",
";",
"i... | Determines whether SIDestinationAddress objects created for this destination object
should have the localOnly flag set or not.
By default this is hardcoded as false, but can be overridden by subclasses where
appropriate to provide customized behaviour.
@return boolean | [
"Determines",
"whether",
"SIDestinationAddress",
"objects",
"created",
"for",
"this",
"destination",
"object",
"should",
"have",
"the",
"localOnly",
"flag",
"set",
"or",
"not",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L956-L962 |
70,818 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.checkNativeInstance | static JmsDestinationImpl checkNativeInstance(Destination destination) throws InvalidDestinationException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "checkNativeInstance", destination);
JmsDestinationImpl castDest = null;
// if the supplied d... | java | static JmsDestinationImpl checkNativeInstance(Destination destination) throws InvalidDestinationException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "checkNativeInstance", destination);
JmsDestinationImpl castDest = null;
// if the supplied d... | [
"static",
"JmsDestinationImpl",
"checkNativeInstance",
"(",
"Destination",
"destination",
")",
"throws",
"InvalidDestinationException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
... | Check that the supplied destination is a native JMS destination object.
If it is, then exit quietly. If it is not, then throw an exception.
Note:
When using Spring in certain ways it provides a proxy objects in the place
of native destination objects. It this method detects that situation then
it returns a new queue o... | [
"Check",
"that",
"the",
"supplied",
"destination",
"is",
"a",
"native",
"JMS",
"destination",
"object",
".",
"If",
"it",
"is",
"then",
"exit",
"quietly",
".",
"If",
"it",
"is",
"not",
"then",
"throw",
"an",
"exception",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L984-L1062 |
70,819 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.checkBlockedStatus | static void checkBlockedStatus(JmsDestinationImpl dest) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "checkBlockedStatus", dest);
// get the status of the destinations blocked attribute
Integer code = dest.getBlockedDestinati... | java | static void checkBlockedStatus(JmsDestinationImpl dest) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "checkBlockedStatus", dest);
// get the status of the destinations blocked attribute
Integer code = dest.getBlockedDestinati... | [
"static",
"void",
"checkBlockedStatus",
"(",
"JmsDestinationImpl",
"dest",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc"... | This method takes a JmsDestinationImpl object and checks the
blocked destination code. If the code signals that the destination
is blocked, a suitable JMSException will be thrown, tailored to the
code received.
@param dest The JmsDestinationImpl to check
@throws JMSException if the destination is blocked | [
"This",
"method",
"takes",
"a",
"JmsDestinationImpl",
"object",
"and",
"checks",
"the",
"blocked",
"destination",
"code",
".",
"If",
"the",
"code",
"signals",
"that",
"the",
"destination",
"is",
"blocked",
"a",
"suitable",
"JMSException",
"will",
"be",
"thrown",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L1073-L1103 |
70,820 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.getJMSReplyToInternal | static JmsDestinationImpl getJMSReplyToInternal(JsJmsMessage _msg, List<SIDestinationAddress> rrp, SICoreConnection _siConn) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getJMSReplyToInternal", new Object[] { _msg, rrp, _siConn });
... | java | static JmsDestinationImpl getJMSReplyToInternal(JsJmsMessage _msg, List<SIDestinationAddress> rrp, SICoreConnection _siConn) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getJMSReplyToInternal", new Object[] { _msg, rrp, _siConn });
... | [
"static",
"JmsDestinationImpl",
"getJMSReplyToInternal",
"(",
"JsJmsMessage",
"_msg",
",",
"List",
"<",
"SIDestinationAddress",
">",
"rrp",
",",
"SICoreConnection",
"_siConn",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
... | Static method that allows a replyTo destination to be obtained from a JsJmsMessage,
a ReverseRoutingPath and an optional JMS Core Connection object.
@param _msg CoreSPI message for which the JMS replyTo dest should be generated
@param rrp Reverse routing path of the message. Should not be queried directly from 'msg'
f... | [
"Static",
"method",
"that",
"allows",
"a",
"replyTo",
"destination",
"to",
"be",
"obtained",
"from",
"a",
"JsJmsMessage",
"a",
"ReverseRoutingPath",
"and",
"an",
"optional",
"JMS",
"Core",
"Connection",
"object",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L1117-L1196 |
70,821 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.fullEncode | String fullEncode() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "fullEncode");
String encoded = null;
// If we have a cached version of the string, use it.
if (cachedEncodedString != null) {
encoded = cachedEncodedStr... | java | String fullEncode() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "fullEncode");
String encoded = null;
// If we have a cached version of the string, use it.
if (cachedEncodedString != null) {
encoded = cachedEncodedStr... | [
"String",
"fullEncode",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"fullEncode\"",
")",
";",
"String",
"encoded... | This method is used to encode the JMS Destination information for transmission
with the message, and subsequent recreation on the other side. The format of the
string is as follows;
queue://my.queue.name
queue://my.queue.name?name1=value1&name2=value2
topic://my.topic.name?name1=value1&name2=value2
Note that the part... | [
"This",
"method",
"is",
"used",
"to",
"encode",
"the",
"JMS",
"Destination",
"information",
"for",
"transmission",
"with",
"the",
"message",
"and",
"subsequent",
"recreation",
"on",
"the",
"other",
"side",
".",
"The",
"format",
"of",
"the",
"string",
"is",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L1219-L1247 |
70,822 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.partialEncode | String partialEncode() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "partialEncode()");
String encoded = null;
// If we have a cached version of the string, use it.
if (cachedPartialEncodedString != null) {
encoded = c... | java | String partialEncode() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "partialEncode()");
String encoded = null;
// If we have a cached version of the string, use it.
if (cachedPartialEncodedString != null) {
encoded = c... | [
"String",
"partialEncode",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\"partialEncode()\"",
")",
";",
"String",
... | A variant of the fullEncode method that is used for URI-encoding for the
purposes of setting it into the jmsReplyTo field of the core message.
This is different from full encode because some of the fields of the destination
are stored in the message reply header so that they can be accessed and
altered by core SPI app... | [
"A",
"variant",
"of",
"the",
"fullEncode",
"method",
"that",
"is",
"used",
"for",
"URI",
"-",
"encoding",
"for",
"the",
"purposes",
"of",
"setting",
"it",
"into",
"the",
"jmsReplyTo",
"field",
"of",
"the",
"core",
"message",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L1260-L1298 |
70,823 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.configureDestinationFromRoutingPath | void configureDestinationFromRoutingPath(List fwdPath) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "configureDestinationFromRoutingPath", fwdPath);
// Clear the cache of the encoding string since we are changing properties.
... | java | void configureDestinationFromRoutingPath(List fwdPath) throws JMSException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "configureDestinationFromRoutingPath", fwdPath);
// Clear the cache of the encoding string since we are changing properties.
... | [
"void",
"configureDestinationFromRoutingPath",
"(",
"List",
"fwdPath",
")",
"throws",
"JMSException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
... | configureReplyDestinationFromRoutingPath
Configure the ReplyDestination from the ReplyRoutingPath. The RRP from the message
is used as the FRP for this Reply Destination, so most of the function is
performed by configureDestinationFromRoutingPath.
This method keeps hold of the bus names as well as the destination names... | [
"configureReplyDestinationFromRoutingPath",
"Configure",
"the",
"ReplyDestination",
"from",
"the",
"ReplyRoutingPath",
".",
"The",
"RRP",
"from",
"the",
"message",
"is",
"used",
"as",
"the",
"FRP",
"for",
"this",
"Reply",
"Destination",
"so",
"most",
"of",
"the",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L1351-L1406 |
70,824 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java | JmsDestinationImpl.clearCachedEncodings | private void clearCachedEncodings() {
cachedEncodedString = null;
cachedPartialEncodedString = null;
for (int i = 0; i < cachedEncoding.length; i++)
cachedEncoding[i] = null;
} | java | private void clearCachedEncodings() {
cachedEncodedString = null;
cachedPartialEncodedString = null;
for (int i = 0; i < cachedEncoding.length; i++)
cachedEncoding[i] = null;
} | [
"private",
"void",
"clearCachedEncodings",
"(",
")",
"{",
"cachedEncodedString",
"=",
"null",
";",
"cachedPartialEncodedString",
"=",
"null",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"cachedEncoding",
".",
"length",
";",
"i",
"++",
")",
"cache... | This method should be called by all setter methods if they alter the state
information of this destination. Doing so will cause the string encoded version
of this destination to be recreated when necessary. | [
"This",
"method",
"should",
"be",
"called",
"by",
"all",
"setter",
"methods",
"if",
"they",
"alter",
"the",
"state",
"information",
"of",
"this",
"destination",
".",
"Doing",
"so",
"will",
"cause",
"the",
"string",
"encoded",
"version",
"of",
"this",
"destin... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.jms.2.0/src/com/ibm/ws/sib/api/jms/impl/JmsDestinationImpl.java#L1470-L1477 |
70,825 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.initialiseNonPersistent | public void initialiseNonPersistent(MessageProcessor messageProcessor,
SIMPTransactionManager txManager)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "initialiseNonPersistent", messageProcessor);
//Release 1 has no Link Bundle ... | java | public void initialiseNonPersistent(MessageProcessor messageProcessor,
SIMPTransactionManager txManager)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "initialiseNonPersistent", messageProcessor);
//Release 1 has no Link Bundle ... | [
"public",
"void",
"initialiseNonPersistent",
"(",
"MessageProcessor",
"messageProcessor",
",",
"SIMPTransactionManager",
"txManager",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibT... | Called to recover Neighbours from the MessageStore.
@param messageProcessor The message processor instance
@param txManager The transaction manager instance to create Local transactions
under. | [
"Called",
"to",
"recover",
"Neighbours",
"from",
"the",
"MessageStore",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L140-L167 |
70,826 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.initalised | public void initalised() throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "initalised");
try
{
_lockManager.lockExclusive();
// Flag that we are in a started state.
_started = true;
// If the Neigh... | java | public void initalised() throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "initalised");
try
{
_lockManager.lockExclusive();
// Flag that we are in a started state.
_started = true;
// If the Neigh... | [
"public",
"void",
"initalised",
"(",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"initalised\"",
")",... | When initialised is called, each of the neighbours are sent the
set of subscriptions.
The flag that indicates that reconciling is complete is also set | [
"When",
"initialised",
"is",
"called",
"each",
"of",
"the",
"neighbours",
"are",
"sent",
"the",
"set",
"of",
"subscriptions",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L176-L204 |
70,827 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.stop | public void stop()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "stop");
try
{
_lockManager.lockExclusive();
// Flag that we are in a started state.
_started = false;
}
finally
{
_lockManager.unlockExclusive();
... | java | public void stop()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "stop");
try
{
_lockManager.lockExclusive();
// Flag that we are in a started state.
_started = false;
}
finally
{
_lockManager.unlockExclusive();
... | [
"public",
"void",
"stop",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"stop\"",
")",
";",
"try",
"{",
"_lockManager",
".",
... | Stops the proxy handler from processing any more messages | [
"Stops",
"the",
"proxy",
"handler",
"from",
"processing",
"any",
"more",
"messages"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L209-L226 |
70,828 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.removeUnusedNeighbours | public void removeUnusedNeighbours()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeUnusedNeighbours");
final Enumeration neighbourList = _neighbours.getAllRecoveredNeighbours();
LocalTransaction transaction = null;
try
{
_lockManag... | java | public void removeUnusedNeighbours()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "removeUnusedNeighbours");
final Enumeration neighbourList = _neighbours.getAllRecoveredNeighbours();
LocalTransaction transaction = null;
try
{
_lockManag... | [
"public",
"void",
"removeUnusedNeighbours",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"removeUnusedNeighbours\"",
")",
";",
"fi... | removeUnusedNeighbours is called once all the Neighbours are defined from Admin.
This will generate the reset state method to be sent to all Neighbouring
ME's
Also, this will check all Neighbours and ensure that they are all still
valid and remove those that aren't | [
"removeUnusedNeighbours",
"is",
"called",
"once",
"all",
"the",
"Neighbours",
"are",
"defined",
"from",
"Admin",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L238-L317 |
70,829 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.subscribeEvent | public void subscribeEvent(
ConsumerDispatcherState subState,
Transaction transaction)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"subscribeEvent",
new Object[] { subState, transaction });
try
{
... | java | public void subscribeEvent(
ConsumerDispatcherState subState,
Transaction transaction)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"subscribeEvent",
new Object[] { subState, transaction });
try
{
... | [
"public",
"void",
"subscribeEvent",
"(",
"ConsumerDispatcherState",
"subState",
",",
"Transaction",
"transaction",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
"... | Forwards a subscription to all Neighbouring ME's
To drive this subscribeEvent method, the subscription would
have to have been registered on this ME which means that we
can forward this subscription onto the Neighbours if required
@param subState The subscription definition
@param transaction The trans... | [
"Forwards",
"a",
"subscription",
"to",
"all",
"Neighbouring",
"ME",
"s"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L331-L398 |
70,830 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.topicSpaceCreatedEvent | public void topicSpaceCreatedEvent(DestinationHandler destination) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "topicSpaceCreatedEvent", destination);
try
{
_lockManager.lockExclusive();
_neighbours.topicSpaceC... | java | public void topicSpaceCreatedEvent(DestinationHandler destination) throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "topicSpaceCreatedEvent", destination);
try
{
_lockManager.lockExclusive();
_neighbours.topicSpaceC... | [
"public",
"void",
"topicSpaceCreatedEvent",
"(",
"DestinationHandler",
"destination",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"ent... | When a topic space is created, there may be proxy subscriptions
already registered that need to attach to this topic space.
@param destination The destination object being created
@exception SIDiscriminatorSyntaxException
@exception SISelectorSyntaxException
@exception SIResourceException | [
"When",
"a",
"topic",
"space",
"is",
"created",
"there",
"may",
"be",
"proxy",
"subscriptions",
"already",
"registered",
"that",
"need",
"to",
"attach",
"to",
"this",
"topic",
"space",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L798-L816 |
70,831 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.topicSpaceDeletedEvent | public void topicSpaceDeletedEvent(DestinationHandler destination)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "topicSpaceDeletedEvent", destination);
try
{
_lockManager.lockExclusive();
_neighbours.topicSpaceDel... | java | public void topicSpaceDeletedEvent(DestinationHandler destination)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "topicSpaceDeletedEvent", destination);
try
{
_lockManager.lockExclusive();
_neighbours.topicSpaceDel... | [
"public",
"void",
"topicSpaceDeletedEvent",
"(",
"DestinationHandler",
"destination",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"ent... | When a topic space is deleted, there may be proxy subscriptions
that need removing from the match space and putting into "limbo"
until the delete proxy subscriptions request is made
@param destination The destination topic space that has been deleted
@exception SIResourceException | [
"When",
"a",
"topic",
"space",
"is",
"deleted",
"there",
"may",
"be",
"proxy",
"subscriptions",
"that",
"need",
"removing",
"from",
"the",
"match",
"space",
"and",
"putting",
"into",
"limbo",
"until",
"the",
"delete",
"proxy",
"subscriptions",
"request",
"is",... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L827-L846 |
70,832 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.linkStarted | public void linkStarted(String busId, SIBUuid8 meUuid)
throws SIIncorrectCallException, SIErrorException, SIDiscriminatorSyntaxException,
SISelectorSyntaxException, SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "linkStarted... | java | public void linkStarted(String busId, SIBUuid8 meUuid)
throws SIIncorrectCallException, SIErrorException, SIDiscriminatorSyntaxException,
SISelectorSyntaxException, SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "linkStarted... | [
"public",
"void",
"linkStarted",
"(",
"String",
"busId",
",",
"SIBUuid8",
"meUuid",
")",
"throws",
"SIIncorrectCallException",
",",
"SIErrorException",
",",
"SIDiscriminatorSyntaxException",
",",
"SISelectorSyntaxException",
",",
"SIResourceException",
"{",
"if",
"(",
"... | When a Link is started we want to send a reset message to the neighbouring
bus.
If the neighbour was not found, then create it here as we don't want to start
sending messages to it until the link has started.
@param String The name of the foreign bus
@param SIBUuid8 The uuid of the link localising ME on the foreign b... | [
"When",
"a",
"Link",
"is",
"started",
"we",
"want",
"to",
"send",
"a",
"reset",
"message",
"to",
"the",
"neighbouring",
"bus",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L858-L885 |
70,833 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.cleanupLinkNeighbour | public void cleanupLinkNeighbour(String busName)
throws SIRollbackException,
SIConnectionLostException,
SIIncorrectCallException,
SIResourceException,
SIErrorException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "cleanupLinkN... | java | public void cleanupLinkNeighbour(String busName)
throws SIRollbackException,
SIConnectionLostException,
SIIncorrectCallException,
SIResourceException,
SIErrorException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "cleanupLinkN... | [
"public",
"void",
"cleanupLinkNeighbour",
"(",
"String",
"busName",
")",
"throws",
"SIRollbackException",
",",
"SIConnectionLostException",
",",
"SIIncorrectCallException",
",",
"SIResourceException",
",",
"SIErrorException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyT... | When a link is deleted we need to clean up any neighbours that won`t
be deleted at restart time.
@param String The name of the foreign bus | [
"When",
"a",
"link",
"is",
"deleted",
"we",
"need",
"to",
"clean",
"up",
"any",
"neighbours",
"that",
"won",
"t",
"be",
"deleted",
"at",
"restart",
"time",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L893-L918 |
70,834 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.deleteNeighbourForced | public void deleteNeighbourForced(
SIBUuid8 meUUID,
String busId,
Transaction transaction)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"deleteNeighbourForced",
new Object[] { meUUID, busId, transaction... | java | public void deleteNeighbourForced(
SIBUuid8 meUUID,
String busId,
Transaction transaction)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"deleteNeighbourForced",
new Object[] { meUUID, busId, transaction... | [
"public",
"void",
"deleteNeighbourForced",
"(",
"SIBUuid8",
"meUUID",
",",
"String",
"busId",
",",
"Transaction",
"transaction",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntry... | Removes a Neighbour by taking a brutal approach to remove all the
proxy Subscriptions on this ME pointing at other Neighbours.
This will not leave the Neighbour marked as deleted and wait for the
delete message, it will simply zap everything in site.
This will forward on any deregistration Events to other Neighbours.... | [
"Removes",
"a",
"Neighbour",
"by",
"taking",
"a",
"brutal",
"approach",
"to",
"remove",
"all",
"the",
"proxy",
"Subscriptions",
"on",
"this",
"ME",
"pointing",
"at",
"other",
"Neighbours",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L990-L1016 |
70,835 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.deleteAllNeighboursForced | public void deleteAllNeighboursForced(
Transaction transaction)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"deleteAllNeighboursForced",
new Object[] { transaction } );
try
{
_lockManager.lo... | java | public void deleteAllNeighboursForced(
Transaction transaction)
throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(
tc,
"deleteAllNeighboursForced",
new Object[] { transaction } );
try
{
_lockManager.lo... | [
"public",
"void",
"deleteAllNeighboursForced",
"(",
"Transaction",
"transaction",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",... | This is purely for unittests. Many unittests dont cleanup their neighbours
so we now need this to ensure certain tests are clean before starting.
@param neighbourUUID The UUID for the Neighbour
@param busId The bus that this ME belongs to.
@param transaction The transaction for deleting the Neighbour
@exception SID... | [
"This",
"is",
"purely",
"for",
"unittests",
".",
"Many",
"unittests",
"dont",
"cleanup",
"their",
"neighbours",
"so",
"we",
"now",
"need",
"this",
"to",
"ensure",
"certain",
"tests",
"are",
"clean",
"before",
"starting",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L1029-L1068 |
70,836 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.recoverNeighbours | public void recoverNeighbours() throws SIResourceException, MessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "recoverNeighbours");
try
{
// Lock the manager exclusively
_lockManager.lockExclusive();
// Indicate tha... | java | public void recoverNeighbours() throws SIResourceException, MessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "recoverNeighbours");
try
{
// Lock the manager exclusively
_lockManager.lockExclusive();
// Indicate tha... | [
"public",
"void",
"recoverNeighbours",
"(",
")",
"throws",
"SIResourceException",
",",
"MessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
... | Recovers the Neighbours from the MessageStore.
@exception WsException Thrown if there was a problem
recovering the Neighbours. | [
"Recovers",
"the",
"Neighbours",
"from",
"the",
"MessageStore",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L1077-L1099 |
70,837 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.reportAllNeighbours | Enumeration reportAllNeighbours()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "reportAllNeighbours");
// Call out to the Neighbours class to get the list of Neighbours.
final Enumeration neighbours = _neighbours.getAllNeighbours();
if (TraceComponent.isAn... | java | Enumeration reportAllNeighbours()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "reportAllNeighbours");
// Call out to the Neighbours class to get the list of Neighbours.
final Enumeration neighbours = _neighbours.getAllNeighbours();
if (TraceComponent.isAn... | [
"Enumeration",
"reportAllNeighbours",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"reportAllNeighbours\"",
")",
";",
"// Call out t... | Method reports all currently known ME's in a Enumeration format
@return An Enumeration of all the Neighbours. | [
"Method",
"reports",
"all",
"currently",
"known",
"ME",
"s",
"in",
"a",
"Enumeration",
"format"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L1106-L1118 |
70,838 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.addMessageHandler | void addMessageHandler(SubscriptionMessageHandler messageHandler)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "addMessageHandler", messageHandler);
final boolean inserted = _subscriptionMessagePool.add(messageHandler);
// If the message wasn't inserted, then t... | java | void addMessageHandler(SubscriptionMessageHandler messageHandler)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "addMessageHandler", messageHandler);
final boolean inserted = _subscriptionMessagePool.add(messageHandler);
// If the message wasn't inserted, then t... | [
"void",
"addMessageHandler",
"(",
"SubscriptionMessageHandler",
"messageHandler",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"addMessageH... | Adds a message back into the Pool of available messages.
@param messageHandler The message handler to add back to the pool | [
"Adds",
"a",
"message",
"back",
"into",
"the",
"Pool",
"of",
"available",
"messages",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L1144-L1159 |
70,839 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.getMessageHandler | SubscriptionMessageHandler getMessageHandler()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getMessageHandler");
SubscriptionMessageHandler messageHandler =
(SubscriptionMessageHandler) _subscriptionMessagePool.remove();
if (messageHandler == null)
... | java | SubscriptionMessageHandler getMessageHandler()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getMessageHandler");
SubscriptionMessageHandler messageHandler =
(SubscriptionMessageHandler) _subscriptionMessagePool.remove();
if (messageHandler == null)
... | [
"SubscriptionMessageHandler",
"getMessageHandler",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"getMessageHandler\"",
")",
";",
"Su... | Returns the Message Handler to be used for this operation
It will check the message pool and if none are available,
it will create a new instance
@return SubscriptionMessageHandler The message handling class. | [
"Returns",
"the",
"Message",
"Handler",
"to",
"be",
"used",
"for",
"this",
"operation"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L1169-L1192 |
70,840 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.createProxyListener | private void createProxyListener() throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createProxyListener");
// Create the proxy listener instance
_proxyListener = new NeighbourProxyListener(_neighbours, this);
/*
* Now we can cr... | java | private void createProxyListener() throws SIResourceException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "createProxyListener");
// Create the proxy listener instance
_proxyListener = new NeighbourProxyListener(_neighbours, this);
/*
* Now we can cr... | [
"private",
"void",
"createProxyListener",
"(",
")",
"throws",
"SIResourceException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"createProxy... | Method that creates the NeighbourProxyListener instance for reading messages
from the Neighbours. It then registers the listener to start receiving
messages
@throws SIResourceException Thrown if there are errors while
creating the | [
"Method",
"that",
"creates",
"the",
"NeighbourProxyListener",
"instance",
"for",
"reading",
"messages",
"from",
"the",
"Neighbours",
".",
"It",
"then",
"registers",
"the",
"listener",
"to",
"start",
"receiving",
"messages"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L1202-L1259 |
70,841 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java | MultiMEProxyHandler.getNeighbour | public final Neighbour getNeighbour(SIBUuid8 neighbourUUID, boolean includeRecovered)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getNeighbour", new Object[] { neighbourUUID, Boolean.valueOf(includeRecovered)});
Neighbour neighbour = _neighbours.getNeighbour(... | java | public final Neighbour getNeighbour(SIBUuid8 neighbourUUID, boolean includeRecovered)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getNeighbour", new Object[] { neighbourUUID, Boolean.valueOf(includeRecovered)});
Neighbour neighbour = _neighbours.getNeighbour(... | [
"public",
"final",
"Neighbour",
"getNeighbour",
"(",
"SIBUuid8",
"neighbourUUID",
",",
"boolean",
"includeRecovered",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"... | Returns the neighbour for the given UUID
@param neighbourUUID The uuid to find
@param includeRecovered Also look for the neighbour in the recovered list
@return The neighbour object | [
"Returns",
"the",
"neighbour",
"for",
"the",
"given",
"UUID"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/proxyhandler/MultiMEProxyHandler.java#L1297-L1311 |
70,842 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Lock.java | Lock.getSharedLock | public void getSharedLock(int requestId)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "getSharedLock",new Object[] {this,new Integer(requestId)});
Thread currentThread = Thread.currentThread();
Integer count = null;
synchronized(this)
{
// If this thread does not have any existing shared locks ... | java | public void getSharedLock(int requestId)
{
if (tc.isEntryEnabled()) Tr.entry(tc, "getSharedLock",new Object[] {this,new Integer(requestId)});
Thread currentThread = Thread.currentThread();
Integer count = null;
synchronized(this)
{
// If this thread does not have any existing shared locks ... | [
"public",
"void",
"getSharedLock",
"(",
"int",
"requestId",
")",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"getSharedLock\"",
",",
"new",
"Object",
"[",
"]",
"{",
"this",
",",
"new",
"Integer",
... | This method is called to request a shared lock. There are conditions under which a
shared lock cannot be granted and this method will block until no such conditions
apply. When the method returns the thread has been granted an additional shared
lock. A single thread may hold any number of shared locks, but the number o... | [
"This",
"method",
"is",
"called",
"to",
"request",
"a",
"shared",
"lock",
".",
"There",
"are",
"conditions",
"under",
"which",
"a",
"shared",
"lock",
"cannot",
"be",
"granted",
"and",
"this",
"method",
"will",
"block",
"until",
"no",
"such",
"conditions",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Lock.java#L153-L207 |
70,843 | OpenLiberty/open-liberty | dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Lock.java | Lock.releaseSharedLock | public void releaseSharedLock(int requestId) throws NoSharedLockException
{
if (tc.isEntryEnabled()) Tr.entry(tc, "releaseSharedLock",new Object[]{this,new Integer(requestId)});
Thread currentThread = Thread.currentThread();
int newValue = 0;
synchronized(this)
{
Integer count = (Integer)_... | java | public void releaseSharedLock(int requestId) throws NoSharedLockException
{
if (tc.isEntryEnabled()) Tr.entry(tc, "releaseSharedLock",new Object[]{this,new Integer(requestId)});
Thread currentThread = Thread.currentThread();
int newValue = 0;
synchronized(this)
{
Integer count = (Integer)_... | [
"public",
"void",
"releaseSharedLock",
"(",
"int",
"requestId",
")",
"throws",
"NoSharedLockException",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
"entry",
"(",
"tc",
",",
"\"releaseSharedLock\"",
",",
"new",
"Object",
"[",
"]",
... | Releases a single shared lock from thread.
@exception NoSharedLockException The caller does not hold a shared lock to release
@param requestId The 'identifier' of the lock requester. This is used ONLY for
trace output. It should be used to 'pair up' get/set pairs in
the code. | [
"Releases",
"a",
"single",
"shared",
"lock",
"from",
"thread",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.recoverylog/src/com/ibm/ws/recoverylog/spi/Lock.java#L221-L270 |
70,844 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2InboundLink.java | H2InboundLink.handleHTTP2AlpnConnect | public boolean handleHTTP2AlpnConnect(HttpInboundLink link) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "handleHTTP2AlpnConnect entry");
}
initialHttpInboundLink = link;
Integer streamID = new Integer(0);
H2VirtualConnectionImp... | java | public boolean handleHTTP2AlpnConnect(HttpInboundLink link) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "handleHTTP2AlpnConnect entry");
}
initialHttpInboundLink = link;
Integer streamID = new Integer(0);
H2VirtualConnectionImp... | [
"public",
"boolean",
"handleHTTP2AlpnConnect",
"(",
"HttpInboundLink",
"link",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".",
"debug",
"(",
"tc",
",",
"\"handleHT... | Handle a connection initiated via ALPN "h2"
@param link the initial inbound link
@return true if the upgrade was sucessful | [
"Handle",
"a",
"connection",
"initiated",
"via",
"ALPN",
"h2"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2InboundLink.java#L291-L315 |
70,845 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2InboundLink.java | H2InboundLink.handleHTTP2UpgradeRequest | public boolean handleHTTP2UpgradeRequest(Map<String, String> headers, HttpInboundLink link) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "handleHTTP2UpgradeRequest entry");
}
//1) Send the 101 response
//2) Setup the new streams and Link... | java | public boolean handleHTTP2UpgradeRequest(Map<String, String> headers, HttpInboundLink link) {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "handleHTTP2UpgradeRequest entry");
}
//1) Send the 101 response
//2) Setup the new streams and Link... | [
"public",
"boolean",
"handleHTTP2UpgradeRequest",
"(",
"Map",
"<",
"String",
",",
"String",
">",
"headers",
",",
"HttpInboundLink",
"link",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")"... | Handle an h2c upgrade request
@param headers a map of the headers for this request
@param link the initial inbound link
@return true if the http2 upgrade was successful | [
"Handle",
"an",
"h2c",
"upgrade",
"request"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2InboundLink.java#L324-L397 |
70,846 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2InboundLink.java | H2InboundLink.updateHighestStreamId | protected void updateHighestStreamId(int proposedHighestStreamId) throws ProtocolException {
if ((proposedHighestStreamId & 1) == 0) { // even number, server-initialized stream
if (proposedHighestStreamId > highestLocalStreamId) {
highestLocalStreamId = proposedHighestStreamId;
... | java | protected void updateHighestStreamId(int proposedHighestStreamId) throws ProtocolException {
if ((proposedHighestStreamId & 1) == 0) { // even number, server-initialized stream
if (proposedHighestStreamId > highestLocalStreamId) {
highestLocalStreamId = proposedHighestStreamId;
... | [
"protected",
"void",
"updateHighestStreamId",
"(",
"int",
"proposedHighestStreamId",
")",
"throws",
"ProtocolException",
"{",
"if",
"(",
"(",
"proposedHighestStreamId",
"&",
"1",
")",
"==",
"0",
")",
"{",
"// even number, server-initialized stream",
"if",
"(",
"propos... | Keep track of the highest-valued local and remote stream IDs for this connection
@param proposedHighestStreamId
@throws ProtocolException if the proposed stream ID is lower than a previous streams' | [
"Keep",
"track",
"of",
"the",
"highest",
"-",
"valued",
"local",
"and",
"remote",
"stream",
"IDs",
"for",
"this",
"connection"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2InboundLink.java#L405-L429 |
70,847 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2InboundLink.java | H2InboundLink.destroy | @Override
public void destroy() {
httpInboundChannel.stop(50);
initialVC = null;
frameReadProcessor = null;
h2MuxReadCallback = null;
h2MuxTCPConnectionContext = null;
h2MuxTCPReadContext = null;
h2MuxTCPWriteContext = null;
localConnectionSettings = ... | java | @Override
public void destroy() {
httpInboundChannel.stop(50);
initialVC = null;
frameReadProcessor = null;
h2MuxReadCallback = null;
h2MuxTCPConnectionContext = null;
h2MuxTCPReadContext = null;
h2MuxTCPWriteContext = null;
localConnectionSettings = ... | [
"@",
"Override",
"public",
"void",
"destroy",
"(",
")",
"{",
"httpInboundChannel",
".",
"stop",
"(",
"50",
")",
";",
"initialVC",
"=",
"null",
";",
"frameReadProcessor",
"=",
"null",
";",
"h2MuxReadCallback",
"=",
"null",
";",
"h2MuxTCPConnectionContext",
"=",... | A GOAWAY frame has been received; start shutting down this connection | [
"A",
"GOAWAY",
"frame",
"has",
"been",
"received",
";",
"start",
"shutting",
"down",
"this",
"connection"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2InboundLink.java#L676-L692 |
70,848 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2InboundLink.java | H2InboundLink.incrementConnectionWindowUpdateLimit | public void incrementConnectionWindowUpdateLimit(int x) throws FlowControlException {
if (!checkIfGoAwaySendingOrClosing()) {
writeQ.incrementConnectionWindowUpdateLimit(x);
H2StreamProcessor stream;
for (Integer i : streamTable.keySet()) {
stream = streamTabl... | java | public void incrementConnectionWindowUpdateLimit(int x) throws FlowControlException {
if (!checkIfGoAwaySendingOrClosing()) {
writeQ.incrementConnectionWindowUpdateLimit(x);
H2StreamProcessor stream;
for (Integer i : streamTable.keySet()) {
stream = streamTabl... | [
"public",
"void",
"incrementConnectionWindowUpdateLimit",
"(",
"int",
"x",
")",
"throws",
"FlowControlException",
"{",
"if",
"(",
"!",
"checkIfGoAwaySendingOrClosing",
"(",
")",
")",
"{",
"writeQ",
".",
"incrementConnectionWindowUpdateLimit",
"(",
"x",
")",
";",
"H2... | Increment the connection window limit but the given amount
@param int amount to increment connection window
@throws FlowControlException | [
"Increment",
"the",
"connection",
"window",
"limit",
"but",
"the",
"given",
"amount"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2InboundLink.java#L812-L823 |
70,849 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2InboundLink.java | H2InboundLink.closeStream | public void closeStream(H2StreamProcessor p) {
// only place that should be dealing with the closed stream table,
// be called by multiple stream objects at the same time, so sync access
synchronized (streamOpenCloseSync) {
if (p.getId() != 0) {
writeQ.removeNodeFromQ... | java | public void closeStream(H2StreamProcessor p) {
// only place that should be dealing with the closed stream table,
// be called by multiple stream objects at the same time, so sync access
synchronized (streamOpenCloseSync) {
if (p.getId() != 0) {
writeQ.removeNodeFromQ... | [
"public",
"void",
"closeStream",
"(",
"H2StreamProcessor",
"p",
")",
"{",
"// only place that should be dealing with the closed stream table,",
"// be called by multiple stream objects at the same time, so sync access",
"synchronized",
"(",
"streamOpenCloseSync",
")",
"{",
"if",
"(",... | Remove the stream matching the given ID from the write tree, and decrement the number of open streams.
@param int streamID | [
"Remove",
"the",
"stream",
"matching",
"the",
"given",
"ID",
"from",
"the",
"write",
"tree",
"and",
"decrement",
"the",
"number",
"of",
"open",
"streams",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2InboundLink.java#L1242-L1263 |
70,850 | OpenLiberty/open-liberty | dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2InboundLink.java | H2InboundLink.getStream | public H2StreamProcessor getStream(int streamID) {
H2StreamProcessor streamProcessor = null;
streamProcessor = streamTable.get(streamID);
return streamProcessor;
} | java | public H2StreamProcessor getStream(int streamID) {
H2StreamProcessor streamProcessor = null;
streamProcessor = streamTable.get(streamID);
return streamProcessor;
} | [
"public",
"H2StreamProcessor",
"getStream",
"(",
"int",
"streamID",
")",
"{",
"H2StreamProcessor",
"streamProcessor",
"=",
"null",
";",
"streamProcessor",
"=",
"streamTable",
".",
"get",
"(",
"streamID",
")",
";",
"return",
"streamProcessor",
";",
"}"
] | Get the stream processor for a given stream ID, if it exists
@param streamID of the desired stream
@return a stream object if it's in the open stream table, or null if the
ID is new or has already been removed from the stream table | [
"Get",
"the",
"stream",
"processor",
"for",
"a",
"given",
"stream",
"ID",
"if",
"it",
"exists"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/h2internal/H2InboundLink.java#L1272-L1277 |
70,851 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/passivator/StatefulPassivator.java | StatefulPassivator.remove | public void remove(BeanId beanId, boolean removeFromFailoverCache)
throws RemoteException //LIDB2018-1
{
// LIDB2018-1 begins
if (ivStatefulFailoverCache == null || !ivStatefulFailoverCache.beanExists(beanId))
{
//PK69093 - beanStore.remove will access a file,... | java | public void remove(BeanId beanId, boolean removeFromFailoverCache)
throws RemoteException //LIDB2018-1
{
// LIDB2018-1 begins
if (ivStatefulFailoverCache == null || !ivStatefulFailoverCache.beanExists(beanId))
{
//PK69093 - beanStore.remove will access a file,... | [
"public",
"void",
"remove",
"(",
"BeanId",
"beanId",
",",
"boolean",
"removeFromFailoverCache",
")",
"throws",
"RemoteException",
"//LIDB2018-1",
"{",
"// LIDB2018-1 begins",
"if",
"(",
"ivStatefulFailoverCache",
"==",
"null",
"||",
"!",
"ivStatefulFailoverCache",
".",
... | Version of remove which can be used with only a beanId passed in
as input.
@param beanId of the SFSB to be removed.
@param removeFromFailoverCache indicates whether or not to remove from
failover cache if found in failover cache. Note, the intent is
only a timeout or SFSB.remove() call should cause failover cache
ent... | [
"Version",
"of",
"remove",
"which",
"can",
"be",
"used",
"with",
"only",
"a",
"beanId",
"passed",
"in",
"as",
"input",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/passivator/StatefulPassivator.java#L597-L622 |
70,852 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/passivator/StatefulPassivator.java | StatefulPassivator.getCompressedBytes | private byte[] getCompressedBytes(Object sb,
long lastAccessTime,
Object exPC) throws IOException // d367572.7
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
... | java | private byte[] getCompressedBytes(Object sb,
long lastAccessTime,
Object exPC) throws IOException // d367572.7
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
... | [
"private",
"byte",
"[",
"]",
"getCompressedBytes",
"(",
"Object",
"sb",
",",
"long",
"lastAccessTime",
",",
"Object",
"exPC",
")",
"throws",
"IOException",
"// d367572.7",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"("... | LIDB2018-1 added entire method. | [
"LIDB2018",
"-",
"1",
"added",
"entire",
"method",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/passivator/StatefulPassivator.java#L687-L721 |
70,853 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/passivator/StatefulPassivator.java | StatefulPassivator.getPassivatorFields | public Map<String, Map<String, Field>> getPassivatorFields(final BeanMetaData bmd) // d648122
{
// Volatile data race. We do not care if multiple threads do the work
// since they will all get the same result.
Map<String, Map<String, Field>> result = bmd.ivPassivatorFields;
if (resu... | java | public Map<String, Map<String, Field>> getPassivatorFields(final BeanMetaData bmd) // d648122
{
// Volatile data race. We do not care if multiple threads do the work
// since they will all get the same result.
Map<String, Map<String, Field>> result = bmd.ivPassivatorFields;
if (resu... | [
"public",
"Map",
"<",
"String",
",",
"Map",
"<",
"String",
",",
"Field",
">",
">",
"getPassivatorFields",
"(",
"final",
"BeanMetaData",
"bmd",
")",
"// d648122",
"{",
"// Volatile data race. We do not care if multiple threads do the work",
"// since they will all get the s... | Get the passivator fields for the specified bean.
@param bmd the bean metadata
@return the passivator fields | [
"Get",
"the",
"passivator",
"fields",
"for",
"the",
"specified",
"bean",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ejs/container/passivator/StatefulPassivator.java#L791-L822 |
70,854 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractList.java | AbstractList.removeFirst | public Token removeFirst(Transaction transaction)
throws ObjectManagerException
{
Iterator iterator = entrySet().iterator();
List.Entry entry = (List.Entry) iterator.next(transaction);
iterator.remove(transaction);
return entry.getValue();
} | java | public Token removeFirst(Transaction transaction)
throws ObjectManagerException
{
Iterator iterator = entrySet().iterator();
List.Entry entry = (List.Entry) iterator.next(transaction);
iterator.remove(transaction);
return entry.getValue();
} | [
"public",
"Token",
"removeFirst",
"(",
"Transaction",
"transaction",
")",
"throws",
"ObjectManagerException",
"{",
"Iterator",
"iterator",
"=",
"entrySet",
"(",
")",
".",
"iterator",
"(",
")",
";",
"List",
".",
"Entry",
"entry",
"=",
"(",
"List",
".",
"Entry... | Remove the first element in the list.
@param transaction
the transaction cotroling the ultimate removal.
@return the object removed.
@exception java.util.NoSuchElementException
if there is nothing in the list or it has already been deleted by some other
uncommited transaction.
@throws ObjectManagerException. | [
"Remove",
"the",
"first",
"element",
"in",
"the",
"list",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/objectManager/AbstractList.java#L122-L129 |
70,855 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/NeighbourFlexHandler.java | NeighbourFlexHandler.postProcessMatches | public void postProcessMatches(DestinationHandler topicSpace,
String topic,
Object[] results,
int index)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "postProcessMatches","resul... | java | public void postProcessMatches(DestinationHandler topicSpace,
String topic,
Object[] results,
int index)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "postProcessMatches","resul... | [
"public",
"void",
"postProcessMatches",
"(",
"DestinationHandler",
"topicSpace",
",",
"String",
"topic",
",",
"Object",
"[",
"]",
"results",
",",
"int",
"index",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"i... | Complete processing of results for this handler after completely traversing
MatchSpace.
ACL checking takes place at this point.
@param results Vector of results for all handlers; results of MatchTarget types
whose index is less than that of this MatchTarget type have already been postprocessed.
@param index Index in ... | [
"Complete",
"processing",
"of",
"results",
"for",
"this",
"handler",
"after",
"completely",
"traversing",
"MatchSpace",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/matching/NeighbourFlexHandler.java#L111-L173 |
70,856 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsAdminFactory.java | JsAdminFactory.createInstance | private static void createInstance() throws Exception {
if (tc.isEntryEnabled())
SibTr.entry(tc, "createInstance", null);
try {
Class cls = Class.forName(JsConstants.JS_ADMIN_FACTORY_CLASS);
_instance = (JsAdminFactory) cls.newInstance();
} catch (Exception e... | java | private static void createInstance() throws Exception {
if (tc.isEntryEnabled())
SibTr.entry(tc, "createInstance", null);
try {
Class cls = Class.forName(JsConstants.JS_ADMIN_FACTORY_CLASS);
_instance = (JsAdminFactory) cls.newInstance();
} catch (Exception e... | [
"private",
"static",
"void",
"createInstance",
"(",
")",
"throws",
"Exception",
"{",
"if",
"(",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc",
",",
"\"createInstance\"",
",",
"null",
")",
";",
"try",
"{",
"Class",
"cls",
... | Create the singleton instance of this factory class
@throws Exception | [
"Create",
"the",
"singleton",
"instance",
"of",
"this",
"factory",
"class"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/admin/internal/JsAdminFactory.java#L59-L75 |
70,857 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/BifurcatedConsumerSessionProxy.java | BifurcatedConsumerSessionProxy.readSet | public SIBusMessage[] readSet(SIMessageHandle[] msgHandles)
throws SISessionUnavailableException, SISessionDroppedException,
SIConnectionUnavailableException, SIConnectionDroppedException,
SIResourceException, SIConnectionLostException,
SIIncorrectCallException, SIMessageN... | java | public SIBusMessage[] readSet(SIMessageHandle[] msgHandles)
throws SISessionUnavailableException, SISessionDroppedException,
SIConnectionUnavailableException, SIConnectionDroppedException,
SIResourceException, SIConnectionLostException,
SIIncorrectCallException, SIMessageN... | [
"public",
"SIBusMessage",
"[",
"]",
"readSet",
"(",
"SIMessageHandle",
"[",
"]",
"msgHandles",
")",
"throws",
"SISessionUnavailableException",
",",
"SISessionDroppedException",
",",
"SIConnectionUnavailableException",
",",
"SIConnectionDroppedException",
",",
"SIResourceExcep... | This method is used to read a set of locked messages held by the message processor.
This call will simply be passed onto the server who will call the method on the real
bifurcated consumer session residing on the server.
@param msgHandles An array of message ids that denote the messages to be read.
@return Returns an... | [
"This",
"method",
"is",
"used",
"to",
"read",
"a",
"set",
"of",
"locked",
"messages",
"held",
"by",
"the",
"message",
"processor",
".",
"This",
"call",
"will",
"simply",
"be",
"passed",
"onto",
"the",
"server",
"who",
"will",
"call",
"the",
"method",
"on... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/BifurcatedConsumerSessionProxy.java#L261-L337 |
70,858 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/BifurcatedConsumerSessionProxy.java | BifurcatedConsumerSessionProxy.readAndDeleteSet | public SIBusMessage[] readAndDeleteSet(SIMessageHandle[] msgHandles, SITransaction tran)
throws SISessionUnavailableException, SISessionDroppedException,
SIConnectionUnavailableException, SIConnectionDroppedException,
SIResourceException, SIConnectionLostException, SILimitExceededExcepti... | java | public SIBusMessage[] readAndDeleteSet(SIMessageHandle[] msgHandles, SITransaction tran)
throws SISessionUnavailableException, SISessionDroppedException,
SIConnectionUnavailableException, SIConnectionDroppedException,
SIResourceException, SIConnectionLostException, SILimitExceededExcepti... | [
"public",
"SIBusMessage",
"[",
"]",
"readAndDeleteSet",
"(",
"SIMessageHandle",
"[",
"]",
"msgHandles",
",",
"SITransaction",
"tran",
")",
"throws",
"SISessionUnavailableException",
",",
"SISessionDroppedException",
",",
"SIConnectionUnavailableException",
",",
"SIConnectio... | This method is used to read and then delete a set of locked messages held by the message
processor. This call will simply be passed onto the server who will call the method on the
real bifurcated consumer session residing on the server.
@param msgHandles An array of message ids that denote the messages to be read and ... | [
"This",
"method",
"is",
"used",
"to",
"read",
"and",
"then",
"delete",
"a",
"set",
"of",
"locked",
"messages",
"held",
"by",
"the",
"message",
"processor",
".",
"This",
"call",
"will",
"simply",
"be",
"passed",
"onto",
"the",
"server",
"who",
"will",
"ca... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/BifurcatedConsumerSessionProxy.java#L360-L419 |
70,859 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/BifurcatedConsumerSessionProxy.java | BifurcatedConsumerSessionProxy._readAndDeleteSet | private SIBusMessage[] _readAndDeleteSet(SIMessageHandle[] msgHandles, SITransaction tran)
throws SISessionUnavailableException, SISessionDroppedException,
SIConnectionUnavailableException, SIConnectionDroppedException,
SIResourceException, SIConnectionLostException, SILimitExceededExcep... | java | private SIBusMessage[] _readAndDeleteSet(SIMessageHandle[] msgHandles, SITransaction tran)
throws SISessionUnavailableException, SISessionDroppedException,
SIConnectionUnavailableException, SIConnectionDroppedException,
SIResourceException, SIConnectionLostException, SILimitExceededExcep... | [
"private",
"SIBusMessage",
"[",
"]",
"_readAndDeleteSet",
"(",
"SIMessageHandle",
"[",
"]",
"msgHandles",
",",
"SITransaction",
"tran",
")",
"throws",
"SISessionUnavailableException",
",",
"SISessionDroppedException",
",",
"SIConnectionUnavailableException",
",",
"SIConnect... | Actually performs the read and delete.
@param msgHandles
@param tran
@return Returns the requested messages.
@throws SISessionUnavailableException
@throws SISessionDroppedException
@throws SIConnectionUnavailableException
@throws SIConnectionDroppedException
@throws SIResourceException
@throws SIConnectionLostExcept... | [
"Actually",
"performs",
"the",
"read",
"and",
"delete",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.comms.client/src/com/ibm/ws/sib/comms/client/BifurcatedConsumerSessionProxy.java#L440-L506 |
70,860 | OpenLiberty/open-liberty | dev/com.ibm.websphere.security.wim.base/src/com/ibm/websphere/security/wim/ras/WIMMessageHelper.java | WIMMessageHelper.generateMsgParms | public static Object[] generateMsgParms(Object parm1, Object parm2, Object parm3, Object parm4, Object parm5,
Object parm6, Object parm7) {
Object parms[] = new Object[7];
parms[0] = parm1;
parms[1] = parm2;
parms[2] = parm3;
parms[3] =... | java | public static Object[] generateMsgParms(Object parm1, Object parm2, Object parm3, Object parm4, Object parm5,
Object parm6, Object parm7) {
Object parms[] = new Object[7];
parms[0] = parm1;
parms[1] = parm2;
parms[2] = parm3;
parms[3] =... | [
"public",
"static",
"Object",
"[",
"]",
"generateMsgParms",
"(",
"Object",
"parm1",
",",
"Object",
"parm2",
",",
"Object",
"parm3",
",",
"Object",
"parm4",
",",
"Object",
"parm5",
",",
"Object",
"parm6",
",",
"Object",
"parm7",
")",
"{",
"Object",
"parms",... | Create an object array to be used as parameters to be passed to a message.
@param parm1 Value of the first parameter to be substituted into the message text.
@param parm2 Value of the second parameter to be substituted into the message text.
@param parm3 Value of the third parameter to be substituted into the message ... | [
"Create",
"an",
"object",
"array",
"to",
"be",
"used",
"as",
"parameters",
"to",
"be",
"passed",
"to",
"a",
"message",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.websphere.security.wim.base/src/com/ibm/websphere/security/wim/ras/WIMMessageHelper.java#L137-L148 |
70,861 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/ByteCodeMetaData.java | ByteCodeMetaData.scan | private void scan() {
if (ivScanned) {
return;
}
ivScanned = true;
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
for (Class<?> klass = ivClass; klass != null && klass != Object.class; klass = klass.getSuperclass()) {
if (isTraceOn && (t... | java | private void scan() {
if (ivScanned) {
return;
}
ivScanned = true;
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
for (Class<?> klass = ivClass; klass != null && klass != Object.class; klass = klass.getSuperclass()) {
if (isTraceOn && (t... | [
"private",
"void",
"scan",
"(",
")",
"{",
"if",
"(",
"ivScanned",
")",
"{",
"return",
";",
"}",
"ivScanned",
"=",
"true",
";",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"for",
"(",
"Class",
"<",
... | Scan the bytecode of all classes in the hierarchy unless already done. | [
"Scan",
"the",
"bytecode",
"of",
"all",
"classes",
"in",
"the",
"hierarchy",
"unless",
"already",
"done",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/ByteCodeMetaData.java#L134-L192 |
70,862 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/ByteCodeMetaData.java | ByteCodeMetaData.getBridgeMethodTarget | public Method getBridgeMethodTarget(Method method) {
scan();
if (ivBridgeMethodMetaData == null) {
return null;
}
BridgeMethodMetaData md = ivBridgeMethodMetaData.get(getNonPrivateMethodKey(method));
return md == null ? null : md.ivTarget;
} | java | public Method getBridgeMethodTarget(Method method) {
scan();
if (ivBridgeMethodMetaData == null) {
return null;
}
BridgeMethodMetaData md = ivBridgeMethodMetaData.get(getNonPrivateMethodKey(method));
return md == null ? null : md.ivTarget;
} | [
"public",
"Method",
"getBridgeMethodTarget",
"(",
"Method",
"method",
")",
"{",
"scan",
"(",
")",
";",
"if",
"(",
"ivBridgeMethodMetaData",
"==",
"null",
")",
"{",
"return",
"null",
";",
"}",
"BridgeMethodMetaData",
"md",
"=",
"ivBridgeMethodMetaData",
".",
"g... | Get the target method of a bridge method, or null if not found
@param method the bridge method (Modifiers.isBridge returns true) | [
"Get",
"the",
"target",
"method",
"of",
"a",
"bridge",
"method",
"or",
"null",
"if",
"not",
"found"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/metadata/ejb/ByteCodeMetaData.java#L206-L215 |
70,863 | OpenLiberty/open-liberty | dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/impl/ExceptionMatcher.java | ExceptionMatcher.isInElementSet | public boolean isInElementSet(Set<String> skipList, Class<?> excClass) throws ClassNotFoundException {
//String mName = "isInElementSet(Set<String> skipList, Class<?> excClass)";
boolean retVal = false;
ClassLoader tccl = Thread.currentThread().getContextClassLoader();
for(String value : skipList) {
Class<?>... | java | public boolean isInElementSet(Set<String> skipList, Class<?> excClass) throws ClassNotFoundException {
//String mName = "isInElementSet(Set<String> skipList, Class<?> excClass)";
boolean retVal = false;
ClassLoader tccl = Thread.currentThread().getContextClassLoader();
for(String value : skipList) {
Class<?>... | [
"public",
"boolean",
"isInElementSet",
"(",
"Set",
"<",
"String",
">",
"skipList",
",",
"Class",
"<",
"?",
">",
"excClass",
")",
"throws",
"ClassNotFoundException",
"{",
"//String mName = \"isInElementSet(Set<String> skipList, Class<?> excClass)\";",
"boolean",
"retVal",
... | Determines if the given exception is a subclass of an element
@param skipList - Set of elements
@param excClass - The thrown exception
@return True or False if skipList contains an element that is a superclass of the thrown exception
@throws ClassNotFoundException | [
"Determines",
"if",
"the",
"given",
"exception",
"is",
"a",
"subclass",
"of",
"an",
"element"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.jbatch.container/src/com/ibm/jbatch/container/impl/ExceptionMatcher.java#L91-L103 |
70,864 | OpenLiberty/open-liberty | dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/session/internal/SessionConfig.java | SessionConfig.updated | public void updated(Dictionary<?, ?> props) {
String value = (String) props.get(PROP_IDNAME);
if (null != value) {
this.idName = value.trim();
}
value = (String) props.get(PROP_USE_URLS);
if (null != value && Boolean.parseBoolean(value.trim())) {
this.urlR... | java | public void updated(Dictionary<?, ?> props) {
String value = (String) props.get(PROP_IDNAME);
if (null != value) {
this.idName = value.trim();
}
value = (String) props.get(PROP_USE_URLS);
if (null != value && Boolean.parseBoolean(value.trim())) {
this.urlR... | [
"public",
"void",
"updated",
"(",
"Dictionary",
"<",
"?",
",",
"?",
">",
"props",
")",
"{",
"String",
"value",
"=",
"(",
"String",
")",
"props",
".",
"get",
"(",
"PROP_IDNAME",
")",
";",
"if",
"(",
"null",
"!=",
"value",
")",
"{",
"this",
".",
"i... | Session configuration has been updated with the provided properties.
@param props | [
"Session",
"configuration",
"has",
"been",
"updated",
"with",
"the",
"provided",
"properties",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.httpservice/src/com/ibm/ws/httpsvc/session/internal/SessionConfig.java#L71-L125 |
70,865 | OpenLiberty/open-liberty | dev/com.ibm.ws.clientcontainer.remote.common/src/com/ibm/ws/clientcontainer/remote/common/internal/ClientSupportFactoryImpl.java | ClientSupportFactoryImpl.run | @Trivial
@Override
public synchronized void run() {
clientSupport = null;
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "run : cached ClientSupport reference cleared");
}
} | java | @Trivial
@Override
public synchronized void run() {
clientSupport = null;
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "run : cached ClientSupport reference cleared");
}
} | [
"@",
"Trivial",
"@",
"Override",
"public",
"synchronized",
"void",
"run",
"(",
")",
"{",
"clientSupport",
"=",
"null",
";",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isDebugEnabled",
"(",
")",
")",
"{",
"Tr",
".... | Scheduled Runnable implementation to reset the ClientSupport
so that it will be obtained again later, in case the server
is restarted. | [
"Scheduled",
"Runnable",
"implementation",
"to",
"reset",
"the",
"ClientSupport",
"so",
"that",
"it",
"will",
"be",
"obtained",
"again",
"later",
"in",
"case",
"the",
"server",
"is",
"restarted",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.clientcontainer.remote.common/src/com/ibm/ws/clientcontainer/remote/common/internal/ClientSupportFactoryImpl.java#L140-L147 |
70,866 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.jaspic/src/com/ibm/ws/security/jaspi/JaspiRequest.java | JaspiRequest.isProtected | public boolean isProtected() {
List<String> requiredRoles = null;
return !webRequest.isUnprotectedURI() &&
webRequest.getMatchResponse() != null &&
(requiredRoles = webRequest.getRequiredRoles()) != null &&
!requiredRoles.isEmpty();
} | java | public boolean isProtected() {
List<String> requiredRoles = null;
return !webRequest.isUnprotectedURI() &&
webRequest.getMatchResponse() != null &&
(requiredRoles = webRequest.getRequiredRoles()) != null &&
!requiredRoles.isEmpty();
} | [
"public",
"boolean",
"isProtected",
"(",
")",
"{",
"List",
"<",
"String",
">",
"requiredRoles",
"=",
"null",
";",
"return",
"!",
"webRequest",
".",
"isUnprotectedURI",
"(",
")",
"&&",
"webRequest",
".",
"getMatchResponse",
"(",
")",
"!=",
"null",
"&&",
"("... | The request is protected if there are required roles
or it's not mapped everyones role
@return true if there is a proected url. | [
"The",
"request",
"is",
"protected",
"if",
"there",
"are",
"required",
"roles",
"or",
"it",
"s",
"not",
"mapped",
"everyones",
"role"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.jaspic/src/com/ibm/ws/security/jaspi/JaspiRequest.java#L121-L127 |
70,867 | OpenLiberty/open-liberty | dev/com.ibm.ws.jaxrs.2.0.server/src/com/ibm/ws/jaxrs20/server/LibertyJaxRsInvoker.java | LibertyJaxRsInvoker.performInvocation | @Override
protected Object performInvocation(Exchange exchange, Object serviceObject, Method m, Object[] paramArray) throws Exception {
paramArray = insertExchange(m, paramArray, exchange);
return this.libertyJaxRsServerFactoryBean.performInvocation(exchange, serviceObject, m, paramArray);
} | java | @Override
protected Object performInvocation(Exchange exchange, Object serviceObject, Method m, Object[] paramArray) throws Exception {
paramArray = insertExchange(m, paramArray, exchange);
return this.libertyJaxRsServerFactoryBean.performInvocation(exchange, serviceObject, m, paramArray);
} | [
"@",
"Override",
"protected",
"Object",
"performInvocation",
"(",
"Exchange",
"exchange",
",",
"Object",
"serviceObject",
",",
"Method",
"m",
",",
"Object",
"[",
"]",
"paramArray",
")",
"throws",
"Exception",
"{",
"paramArray",
"=",
"insertExchange",
"(",
"m",
... | using LibertyJaxRsServerFactoryBean.performInvocation to support POJO, EJB, CDI resource | [
"using",
"LibertyJaxRsServerFactoryBean",
".",
"performInvocation",
"to",
"support",
"POJO",
"EJB",
"CDI",
"resource"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.server/src/com/ibm/ws/jaxrs20/server/LibertyJaxRsInvoker.java#L157-L161 |
70,868 | OpenLiberty/open-liberty | dev/com.ibm.ws.jaxrs.2.0.server/src/com/ibm/ws/jaxrs20/server/LibertyJaxRsInvoker.java | LibertyJaxRsInvoker.callValidationMethod | @FFDCIgnore(value = { SecurityException.class, IllegalAccessException.class, IllegalArgumentException.class, InvocationTargetException.class })
private void callValidationMethod(String methodName, Object[] paramValues, Object theProvider) {
if (theProvider == null) {
return;
}
M... | java | @FFDCIgnore(value = { SecurityException.class, IllegalAccessException.class, IllegalArgumentException.class, InvocationTargetException.class })
private void callValidationMethod(String methodName, Object[] paramValues, Object theProvider) {
if (theProvider == null) {
return;
}
M... | [
"@",
"FFDCIgnore",
"(",
"value",
"=",
"{",
"SecurityException",
".",
"class",
",",
"IllegalAccessException",
".",
"class",
",",
"IllegalArgumentException",
".",
"class",
",",
"InvocationTargetException",
".",
"class",
"}",
")",
"private",
"void",
"callValidationMeth... | call validation method
ignore the exception to pass the FAT
@param methodName
@param paramValues
@param theProvider | [
"call",
"validation",
"method",
"ignore",
"the",
"exception",
"to",
"pass",
"the",
"FAT"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jaxrs.2.0.server/src/com/ibm/ws/jaxrs20/server/LibertyJaxRsInvoker.java#L358-L399 |
70,869 | OpenLiberty/open-liberty | dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/TagHandlerUtils.java | TagHandlerUtils.findFirstNextByType | public static <T> T findFirstNextByType(FaceletHandler nextHandler, Class<T> type)
{
if (type.isAssignableFrom(nextHandler.getClass()))
{
return (T)nextHandler;
}
else if (nextHandler instanceof javax.faces.view.facelets.CompositeFaceletHandler)
{
for ... | java | public static <T> T findFirstNextByType(FaceletHandler nextHandler, Class<T> type)
{
if (type.isAssignableFrom(nextHandler.getClass()))
{
return (T)nextHandler;
}
else if (nextHandler instanceof javax.faces.view.facelets.CompositeFaceletHandler)
{
for ... | [
"public",
"static",
"<",
"T",
">",
"T",
"findFirstNextByType",
"(",
"FaceletHandler",
"nextHandler",
",",
"Class",
"<",
"T",
">",
"type",
")",
"{",
"if",
"(",
"type",
".",
"isAssignableFrom",
"(",
"nextHandler",
".",
"getClass",
"(",
")",
")",
")",
"{",
... | Find the first occurence of a tag handler that is instanceof T
@since 2.0.1
@param <T>
@param nextHandler
@param type
@return | [
"Find",
"the",
"first",
"occurence",
"of",
"a",
"tag",
"handler",
"that",
"is",
"instanceof",
"T"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.jsf.2.2/src/org/apache/myfaces/view/facelets/tag/TagHandlerUtils.java#L49-L67 |
70,870 | OpenLiberty/open-liberty | dev/com.ibm.ws.kernel.service/src/com/ibm/wsspi/kernel/service/utils/FileUtils.java | FileUtils.tryToClose | public static boolean tryToClose(Closeable closeable) {
Object token = ThreadIdentityManager.runAsServer();
try {
if (closeable != null) {
try {
closeable.close();
return true;
} catch (IOException e) {
... | java | public static boolean tryToClose(Closeable closeable) {
Object token = ThreadIdentityManager.runAsServer();
try {
if (closeable != null) {
try {
closeable.close();
return true;
} catch (IOException e) {
... | [
"public",
"static",
"boolean",
"tryToClose",
"(",
"Closeable",
"closeable",
")",
"{",
"Object",
"token",
"=",
"ThreadIdentityManager",
".",
"runAsServer",
"(",
")",
";",
"try",
"{",
"if",
"(",
"closeable",
"!=",
"null",
")",
"{",
"try",
"{",
"closeable",
"... | Close the closeable object
@param closeable | [
"Close",
"the",
"closeable",
"object"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.kernel.service/src/com/ibm/wsspi/kernel/service/utils/FileUtils.java#L328-L343 |
70,871 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/common/ConfigUtils.java | ConfigUtils.setDefaultDiscoveryProperties | private static void setDefaultDiscoveryProperties() {
defaultDiscoveryProperties.put(KEY_OIDC_RESPONSE_TYPES_SUPP, new String[] { "code", "token", "id_token token" });
defaultDiscoveryProperties.put(KEY_OIDC_SUB_TYPES_SUPP, new String[] { "public" });
defaultDiscoveryProperties.put(KEY_OIDC_ID_T... | java | private static void setDefaultDiscoveryProperties() {
defaultDiscoveryProperties.put(KEY_OIDC_RESPONSE_TYPES_SUPP, new String[] { "code", "token", "id_token token" });
defaultDiscoveryProperties.put(KEY_OIDC_SUB_TYPES_SUPP, new String[] { "public" });
defaultDiscoveryProperties.put(KEY_OIDC_ID_T... | [
"private",
"static",
"void",
"setDefaultDiscoveryProperties",
"(",
")",
"{",
"defaultDiscoveryProperties",
".",
"put",
"(",
"KEY_OIDC_RESPONSE_TYPES_SUPP",
",",
"new",
"String",
"[",
"]",
"{",
"\"code\"",
",",
"\"token\"",
",",
"\"id_token token\"",
"}",
")",
";",
... | Should model what is set as default in the oidc.server metatype.xml | [
"Should",
"model",
"what",
"is",
"set",
"as",
"default",
"in",
"the",
"oidc",
".",
"server",
"metatype",
".",
"xml"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/common/ConfigUtils.java#L134-L151 |
70,872 | OpenLiberty/open-liberty | dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/common/ConfigUtils.java | ConfigUtils.populateCustomRequestParameterMap | public void populateCustomRequestParameterMap(ConfigurationAdmin configAdmin, HashMap<String, String> paramMapToPopulate, String[] configuredCustomRequestParams, String configAttrName, String configAttrValue) {
if (configuredCustomRequestParams == null) {
return;
}
for (String config... | java | public void populateCustomRequestParameterMap(ConfigurationAdmin configAdmin, HashMap<String, String> paramMapToPopulate, String[] configuredCustomRequestParams, String configAttrName, String configAttrValue) {
if (configuredCustomRequestParams == null) {
return;
}
for (String config... | [
"public",
"void",
"populateCustomRequestParameterMap",
"(",
"ConfigurationAdmin",
"configAdmin",
",",
"HashMap",
"<",
"String",
",",
"String",
">",
"paramMapToPopulate",
",",
"String",
"[",
"]",
"configuredCustomRequestParams",
",",
"String",
"configAttrName",
",",
"Str... | Populates a map of custom request parameter names and values to add to a certain OpenID Connect request type.
@param configAdmin
Config admin that has access to the necessary server configuration properties.
@param paramMapToPopulate
Request-specific map of custom parameters to populate (for example, a map of paramete... | [
"Populates",
"a",
"map",
"of",
"custom",
"request",
"parameter",
"names",
"and",
"values",
"to",
"add",
"to",
"a",
"certain",
"OpenID",
"Connect",
"request",
"type",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.security.openidconnect.clients.common/src/com/ibm/ws/security/openidconnect/common/ConfigUtils.java#L408-L421 |
70,873 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java | AbstractEJBRuntime.stopModule | public void stopModule(EJBModuleMetaDataImpl mmd) {
try { //210058
uninstall(mmd, false);
} catch (Throwable t) { //210058
FFDCFilter.processException(t, CLASS_NAME + ".stop", "3059", this);
throw new ContainerEJBException("Failed to stop - caught Throwable", t);
... | java | public void stopModule(EJBModuleMetaDataImpl mmd) {
try { //210058
uninstall(mmd, false);
} catch (Throwable t) { //210058
FFDCFilter.processException(t, CLASS_NAME + ".stop", "3059", this);
throw new ContainerEJBException("Failed to stop - caught Throwable", t);
... | [
"public",
"void",
"stopModule",
"(",
"EJBModuleMetaDataImpl",
"mmd",
")",
"{",
"try",
"{",
"//210058",
"uninstall",
"(",
"mmd",
",",
"false",
")",
";",
"}",
"catch",
"(",
"Throwable",
"t",
")",
"{",
"//210058",
"FFDCFilter",
".",
"processException",
"(",
"... | Stops an EJB module.
@param mmd the module metadata | [
"Stops",
"an",
"EJB",
"module",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java#L662-L669 |
70,874 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java | AbstractEJBRuntime.bindInterfaces | protected void bindInterfaces(NameSpaceBinder<?> binder, BeanMetaData bmd) throws Exception {
HomeWrapperSet homeSet = null;
EJSHome home = bmd.homeRecord.getHome();
if (home != null) {
homeSet = home.getWrapperSet();
}
int numRemoteInterfaces = countInterfaces(bmd, ... | java | protected void bindInterfaces(NameSpaceBinder<?> binder, BeanMetaData bmd) throws Exception {
HomeWrapperSet homeSet = null;
EJSHome home = bmd.homeRecord.getHome();
if (home != null) {
homeSet = home.getWrapperSet();
}
int numRemoteInterfaces = countInterfaces(bmd, ... | [
"protected",
"void",
"bindInterfaces",
"(",
"NameSpaceBinder",
"<",
"?",
">",
"binder",
",",
"BeanMetaData",
"bmd",
")",
"throws",
"Exception",
"{",
"HomeWrapperSet",
"homeSet",
"=",
"null",
";",
"EJSHome",
"home",
"=",
"bmd",
".",
"homeRecord",
".",
"getHome"... | Bind all local and remote interfaces for a bean to all binding locations.
@param binder the namespace binder
@param bmd the bean
@param homeSet the remote and local home wrappers, or <tt>null</tt> if
deferred initialization bindings should be used | [
"Bind",
"all",
"local",
"and",
"remote",
"interfaces",
"for",
"a",
"bean",
"to",
"all",
"binding",
"locations",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java#L851-L864 |
70,875 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java | AbstractEJBRuntime.countInterfaces | private int countInterfaces(BeanMetaData bmd, boolean local) // F743-23167
{
// Note that these variables must be kept in sync with bindInterfaces.
String homeInterfaceClassName = local ? bmd.localHomeInterfaceClassName : bmd.homeInterfaceClassName;
boolean hasLocalBean = local && bmd.ivLoca... | java | private int countInterfaces(BeanMetaData bmd, boolean local) // F743-23167
{
// Note that these variables must be kept in sync with bindInterfaces.
String homeInterfaceClassName = local ? bmd.localHomeInterfaceClassName : bmd.homeInterfaceClassName;
boolean hasLocalBean = local && bmd.ivLoca... | [
"private",
"int",
"countInterfaces",
"(",
"BeanMetaData",
"bmd",
",",
"boolean",
"local",
")",
"// F743-23167",
"{",
"// Note that these variables must be kept in sync with bindInterfaces.",
"String",
"homeInterfaceClassName",
"=",
"local",
"?",
"bmd",
".",
"localHomeInterfac... | Determine the number of remote or local interfaces exposed by a bean.
@param bmd the bean
@param local <tt>true</tt> if local interfaces should be counted, or
<tt>false</tt> if remote interfaces should be counted
@return the number of remote or local interfaces | [
"Determine",
"the",
"number",
"of",
"remote",
"or",
"local",
"interfaces",
"exposed",
"by",
"a",
"bean",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java#L874-L888 |
70,876 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java | AbstractEJBRuntime.bindInterfaces | private void bindInterfaces(NameSpaceBinder<?> binder,
BeanMetaData bmd,
HomeWrapperSet homeSet,
boolean local,
int numInterfaces,
boolean singleGlobalInterface... | java | private void bindInterfaces(NameSpaceBinder<?> binder,
BeanMetaData bmd,
HomeWrapperSet homeSet,
boolean local,
int numInterfaces,
boolean singleGlobalInterface... | [
"private",
"void",
"bindInterfaces",
"(",
"NameSpaceBinder",
"<",
"?",
">",
"binder",
",",
"BeanMetaData",
"bmd",
",",
"HomeWrapperSet",
"homeSet",
",",
"boolean",
"local",
",",
"int",
"numInterfaces",
",",
"boolean",
"singleGlobalInterface",
")",
"// F743-23167",
... | Bind all interfaces for a bean to all binding locations.
@param binder the namespace binder
@param bmd the bean
@param homeSet the remote and local home wrappers, or <tt>null</tt> if
deferred initialization bindings should be used
@param local <tt>true</tt> if local interfaces should be bound, or
<tt>false</tt> if rem... | [
"Bind",
"all",
"interfaces",
"for",
"a",
"bean",
"to",
"all",
"binding",
"locations",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java#L904-L958 |
70,877 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java | AbstractEJBRuntime.bindInterface | private <T> void bindInterface(NameSpaceBinder<T> binder,
HomeRecord hr,
HomeWrapperSet homeSet,
int numInterfaces,
boolean singleGlobalInterface,
... | java | private <T> void bindInterface(NameSpaceBinder<T> binder,
HomeRecord hr,
HomeWrapperSet homeSet,
int numInterfaces,
boolean singleGlobalInterface,
... | [
"private",
"<",
"T",
">",
"void",
"bindInterface",
"(",
"NameSpaceBinder",
"<",
"T",
">",
"binder",
",",
"HomeRecord",
"hr",
",",
"HomeWrapperSet",
"homeSet",
",",
"int",
"numInterfaces",
",",
"boolean",
"singleGlobalInterface",
",",
"String",
"interfaceName",
"... | Bind a single interface to all binding locations.
@param binder the namespace binder
@param hr the bean home record
@param homeSet the remote and local home wrappers, or <tt>null</tt> if
deferred initialization bindings should be used
@pram numInterfaces the number of remote or local interfaces
@param singleGlobalInte... | [
"Bind",
"a",
"single",
"interface",
"to",
"all",
"binding",
"locations",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java#L975-L1011 |
70,878 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java | AbstractEJBRuntime.bindAllRemoteInterfacesToContextRoot | protected void bindAllRemoteInterfacesToContextRoot() {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "bindAllRemoteInterfacesToContextRoot");
Map<EJBModuleMetaDataImpl, NameSpaceBinder<?>> binders = new HashMap<EJ... | java | protected void bindAllRemoteInterfacesToContextRoot() {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "bindAllRemoteInterfacesToContextRoot");
Map<EJBModuleMetaDataImpl, NameSpaceBinder<?>> binders = new HashMap<EJ... | [
"protected",
"void",
"bindAllRemoteInterfacesToContextRoot",
"(",
")",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
".",
... | Bind the remote interfaces for all beans known to the container.
Intended to be used to restore EJB bindings when the ORB is restarted. | [
"Bind",
"the",
"remote",
"interfaces",
"for",
"all",
"beans",
"known",
"to",
"the",
"container",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java#L1018-L1055 |
70,879 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java | AbstractEJBRuntime.addHome | protected void addHome(BeanMetaData bmd) throws ContainerException {
try {
EJSContainer.homeOfHomes.addHome(bmd); //d200714 d429866.2 F743-26072
} catch (Throwable ex) {
ContainerException ex2 = new ContainerException(ex);
Tr.error(tc, "CAUGHT_EXCEPTION_THROWING_NEW_E... | java | protected void addHome(BeanMetaData bmd) throws ContainerException {
try {
EJSContainer.homeOfHomes.addHome(bmd); //d200714 d429866.2 F743-26072
} catch (Throwable ex) {
ContainerException ex2 = new ContainerException(ex);
Tr.error(tc, "CAUGHT_EXCEPTION_THROWING_NEW_E... | [
"protected",
"void",
"addHome",
"(",
"BeanMetaData",
"bmd",
")",
"throws",
"ContainerException",
"{",
"try",
"{",
"EJSContainer",
".",
"homeOfHomes",
".",
"addHome",
"(",
"bmd",
")",
";",
"//d200714 d429866.2 F743-26072",
"}",
"catch",
"(",
"Throwable",
"ex",
")... | Adds a home to make it externally accessible.
@param bmd the bean | [
"Adds",
"a",
"home",
"to",
"make",
"it",
"externally",
"accessible",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java#L1272-L1281 |
70,880 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java | AbstractEJBRuntime.initializeDeferredEJBImpl | protected EJSHome initializeDeferredEJBImpl(HomeRecord hr) throws ContainerException, EJBConfigurationException {
BeanMetaData bmd = hr.getBeanMetaData();
Object originalLoader = ThreadContextAccessor.UNCHANGED;
try {
if (!bmd.fullyInitialized) // d664917.1
{
... | java | protected EJSHome initializeDeferredEJBImpl(HomeRecord hr) throws ContainerException, EJBConfigurationException {
BeanMetaData bmd = hr.getBeanMetaData();
Object originalLoader = ThreadContextAccessor.UNCHANGED;
try {
if (!bmd.fullyInitialized) // d664917.1
{
... | [
"protected",
"EJSHome",
"initializeDeferredEJBImpl",
"(",
"HomeRecord",
"hr",
")",
"throws",
"ContainerException",
",",
"EJBConfigurationException",
"{",
"BeanMetaData",
"bmd",
"=",
"hr",
".",
"getBeanMetaData",
"(",
")",
";",
"Object",
"originalLoader",
"=",
"ThreadC... | Actually initializes the deferred EJB. Assumes that a "runtime thread
context" has already been established.
@param hr
@return | [
"Actually",
"initializes",
"the",
"deferred",
"EJB",
".",
"Assumes",
"that",
"a",
"runtime",
"thread",
"context",
"has",
"already",
"been",
"established",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java#L1412-L1452 |
70,881 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java | AbstractEJBRuntime.createReferenceContext | protected ReferenceContext createReferenceContext(BeanMetaData bmd) // F743-29417
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "createReferenceContext: " + bmd.j2eeName);
if (bmd.ivReferenceContext == null) ... | java | protected ReferenceContext createReferenceContext(BeanMetaData bmd) // F743-29417
{
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "createReferenceContext: " + bmd.j2eeName);
if (bmd.ivReferenceContext == null) ... | [
"protected",
"ReferenceContext",
"createReferenceContext",
"(",
"BeanMetaData",
"bmd",
")",
"// F743-29417",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
";",
"if",
"(",
"isTraceOn",
"&&",
"tc",
".",
"isEntryEnab... | Creates the reference context for this EJB. | [
"Creates",
"the",
"reference",
"context",
"for",
"this",
"EJB",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java#L1457-L1471 |
70,882 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java | AbstractEJBRuntime.finishBMDInit | private void finishBMDInit(BeanMetaData bmd) throws ContainerException, EJBConfigurationException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "finishBMDInit: " + bmd.j2eeName); // d640935.1
// First, create the reference context for the bean if we haven't... | java | private void finishBMDInit(BeanMetaData bmd) throws ContainerException, EJBConfigurationException {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
Tr.entry(tc, "finishBMDInit: " + bmd.j2eeName); // d640935.1
// First, create the reference context for the bean if we haven't... | [
"private",
"void",
"finishBMDInit",
"(",
"BeanMetaData",
"bmd",
")",
"throws",
"ContainerException",
",",
"EJBConfigurationException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"Tr",
... | Fully initialize the BeanMetaData. When this method completes
successfully, bmd.fullyInitialized will be true; this method must not be
called if this field is already true. The context class loader must be
the runtime class loader when calling this method. | [
"Fully",
"initialize",
"the",
"BeanMetaData",
".",
"When",
"this",
"method",
"completes",
"successfully",
"bmd",
".",
"fullyInitialized",
"will",
"be",
"true",
";",
"this",
"method",
"must",
"not",
"be",
"called",
"if",
"this",
"field",
"is",
"already",
"true"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java#L1501-L1516 |
70,883 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java | AbstractEJBRuntime.finishBMDInitForReferenceContext | public ComponentNameSpaceConfiguration finishBMDInitForReferenceContext(BeanMetaData bmd) throws EJBConfigurationException, ContainerException {
return ivEJBMDOrchestrator.finishBMDInitForReferenceContext(bmd,
ivDefaultDataSourceJNDIName,
... | java | public ComponentNameSpaceConfiguration finishBMDInitForReferenceContext(BeanMetaData bmd) throws EJBConfigurationException, ContainerException {
return ivEJBMDOrchestrator.finishBMDInitForReferenceContext(bmd,
ivDefaultDataSourceJNDIName,
... | [
"public",
"ComponentNameSpaceConfiguration",
"finishBMDInitForReferenceContext",
"(",
"BeanMetaData",
"bmd",
")",
"throws",
"EJBConfigurationException",
",",
"ContainerException",
"{",
"return",
"ivEJBMDOrchestrator",
".",
"finishBMDInitForReferenceContext",
"(",
"bmd",
",",
"i... | Finish filling out enough of the bean metadata to be able to create the
component namespace configuration for the bean. The context class loader
must be the runtime class loader when calling this method.
@return the component namespace configuration | [
"Finish",
"filling",
"out",
"enough",
"of",
"the",
"bean",
"metadata",
"to",
"be",
"able",
"to",
"create",
"the",
"component",
"namespace",
"configuration",
"for",
"the",
"bean",
".",
"The",
"context",
"class",
"loader",
"must",
"be",
"the",
"runtime",
"clas... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java#L1525-L1529 |
70,884 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java | AbstractEJBRuntime.fireMetaDataCreatedAndStartBean | private EJSHome fireMetaDataCreatedAndStartBean(BeanMetaData bmd) // d648522
throws ContainerException {
if (!bmd.isManagedBean()) // F743-34301.1
{
try {
// Fire the ComponentMetaData event to the listeners
// (ie. we have loaded a new bea... | java | private EJSHome fireMetaDataCreatedAndStartBean(BeanMetaData bmd) // d648522
throws ContainerException {
if (!bmd.isManagedBean()) // F743-34301.1
{
try {
// Fire the ComponentMetaData event to the listeners
// (ie. we have loaded a new bea... | [
"private",
"EJSHome",
"fireMetaDataCreatedAndStartBean",
"(",
"BeanMetaData",
"bmd",
")",
"// d648522",
"throws",
"ContainerException",
"{",
"if",
"(",
"!",
"bmd",
".",
"isManagedBean",
"(",
")",
")",
"// F743-34301.1",
"{",
"try",
"{",
"// Fire the ComponentMetaData ... | Starts the bean by creating a home instance via the container. When this
method completes successfully, bmd.homeRecord.homeInternal will be set to
indicate that this home is started; this method must not be called if
this field is already set. The context class loader must be the bean
class loader when calling this met... | [
"Starts",
"the",
"bean",
"by",
"creating",
"a",
"home",
"instance",
"via",
"the",
"container",
".",
"When",
"this",
"method",
"completes",
"successfully",
"bmd",
".",
"homeRecord",
".",
"homeInternal",
"will",
"be",
"set",
"to",
"indicate",
"that",
"this",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java#L1541-L1561 |
70,885 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java | AbstractEJBRuntime.createNonPersistentAutomaticTimers | protected int createNonPersistentAutomaticTimers(String appName, String moduleName, List<AutomaticTimerBean> timerBeans) {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "createNonPersistentAutomaticTimers: " + moduleName);
... | java | protected int createNonPersistentAutomaticTimers(String appName, String moduleName, List<AutomaticTimerBean> timerBeans) {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
if (isTraceOn && tc.isEntryEnabled())
Tr.entry(tc, "createNonPersistentAutomaticTimers: " + moduleName);
... | [
"protected",
"int",
"createNonPersistentAutomaticTimers",
"(",
"String",
"appName",
",",
"String",
"moduleName",
",",
"List",
"<",
"AutomaticTimerBean",
">",
"timerBeans",
")",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(... | F743-506 RTC109678 | [
"F743",
"-",
"506",
"RTC109678"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java#L1723-L1749 |
70,886 | OpenLiberty/open-liberty | dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java | AbstractEJBRuntime.createNonPersistentCalendarTimer | protected Timer createNonPersistentCalendarTimer(BeanO beanO, ParsedScheduleExpression parsedExpr, Serializable info) {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled();
if (isTraceOn && tc.isDebugEnabled())
Tr.entry(tc, "createNonPersistentCalendarTimer... | java | protected Timer createNonPersistentCalendarTimer(BeanO beanO, ParsedScheduleExpression parsedExpr, Serializable info) {
final boolean isTraceOn = TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled();
if (isTraceOn && tc.isDebugEnabled())
Tr.entry(tc, "createNonPersistentCalendarTimer... | [
"protected",
"Timer",
"createNonPersistentCalendarTimer",
"(",
"BeanO",
"beanO",
",",
"ParsedScheduleExpression",
"parsedExpr",
",",
"Serializable",
"info",
")",
"{",
"final",
"boolean",
"isTraceOn",
"=",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"... | Creates a non-persistent calendar based EJB timer.
@param beanId the bean Id for which the timer is being created
@param parsedExpr the parsed values of the schedule for a calendar-based timer
@param info application information to be delivered to the timeout method, or null | [
"Creates",
"a",
"non",
"-",
"persistent",
"calendar",
"based",
"EJB",
"timer",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.ejbcontainer.core/src/com/ibm/ws/ejbcontainer/runtime/AbstractEJBRuntime.java#L1893-L1908 |
70,887 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java | AbstractItemLink._declareDiscardable | private synchronized final boolean _declareDiscardable()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "_declareDiscardable");
boolean linkHasBecomeReleasable = false;
// Only discardable if storage managed (items and item references on... | java | private synchronized final boolean _declareDiscardable()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "_declareDiscardable");
boolean linkHasBecomeReleasable = false;
// Only discardable if storage managed (items and item references on... | [
"private",
"synchronized",
"final",
"boolean",
"_declareDiscardable",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"\... | The state has changed so that the item could be discarded if it has
a stable persistent representation.
Change the flags that control the discard, and return true if this call
has resulted in a change to the releasable state.
@return | [
"The",
"state",
"has",
"changed",
"so",
"that",
"the",
"item",
"could",
"be",
"discarded",
"if",
"it",
"has",
"a",
"stable",
"persistent",
"representation",
".",
"Change",
"the",
"flags",
"that",
"control",
"the",
"discard",
"and",
"return",
"true",
"if",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java#L446-L484 |
70,888 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java | AbstractItemLink._declareNotDiscardable | private synchronized final boolean _declareNotDiscardable(AbstractItem item)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "_declareNotDiscardable");
boolean notifyRequired = false;
// we are going to need the item in memory, so we make... | java | private synchronized final boolean _declareNotDiscardable(AbstractItem item)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "_declareNotDiscardable");
boolean notifyRequired = false;
// we are going to need the item in memory, so we make... | [
"private",
"synchronized",
"final",
"boolean",
"_declareNotDiscardable",
"(",
"AbstractItem",
"item",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"th... | The state has changed so that the item must not be discarded
regardless of whether it has a stable persistent representation.
Change the flags that control the discard, and return true if this call
has resulted in a change to the releasable state.
@return | [
"The",
"state",
"has",
"changed",
"so",
"that",
"the",
"item",
"must",
"not",
"be",
"discarded",
"regardless",
"of",
"whether",
"it",
"has",
"a",
"stable",
"persistent",
"representation",
".",
"Change",
"the",
"flags",
"that",
"control",
"the",
"discard",
"a... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java#L494-L515 |
70,889 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java | AbstractItemLink._getAndAssertItem | private final AbstractItem _getAndAssertItem() throws SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "_getAndAssertItem");
AbstractItem item = null;
synchronized (this)
{
item = _strongReferenceT... | java | private final AbstractItem _getAndAssertItem() throws SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "_getAndAssertItem");
AbstractItem item = null;
synchronized (this)
{
item = _strongReferenceT... | [
"private",
"final",
"AbstractItem",
"_getAndAssertItem",
"(",
")",
"throws",
"SevereMessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"tc"... | Gets a reference to the item, which is asserted to be obtained from the
strong reference. We use this when we know that the state of the item
tells us that there is a strong reference.
@throws SevereMessageStoreException | [
"Gets",
"a",
"reference",
"to",
"the",
"item",
"which",
"is",
"asserted",
"to",
"be",
"obtained",
"from",
"the",
"strong",
"reference",
".",
"We",
"use",
"this",
"when",
"we",
"know",
"that",
"the",
"state",
"of",
"the",
"item",
"tells",
"us",
"that",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java#L567-L589 |
70,890 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java | AbstractItemLink.persistRedeliveredCount | @Override
public final void persistRedeliveredCount(int redeliveredCount) throws SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "persistRedeliveredCount");
PersistentTransaction msTran = (PersistentTransaction) ge... | java | @Override
public final void persistRedeliveredCount(int redeliveredCount) throws SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "persistRedeliveredCount");
PersistentTransaction msTran = (PersistentTransaction) ge... | [
"@",
"Override",
"public",
"final",
"void",
"persistRedeliveredCount",
"(",
"int",
"redeliveredCount",
")",
"throws",
"SevereMessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
... | Use this to persist redelivered count. Invoke indirectly by the API.
This method uses auto-commit transaction to perform the task of persisting
the redelivered count. This does not involve any external participants.
Therefore, this operation does not require maintaining transaction states.
@param redeliveredCount
@th... | [
"Use",
"this",
"to",
"persist",
"redelivered",
"count",
".",
"Invoke",
"indirectly",
"by",
"the",
"API",
".",
"This",
"method",
"uses",
"auto",
"-",
"commit",
"transaction",
"to",
"perform",
"the",
"task",
"of",
"persisting",
"the",
"redelivered",
"count",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java#L1200-L1226 |
70,891 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java | AbstractItemLink.cmdAdd | final void cmdAdd(final LinkOwner stream, long lockID, final PersistentTransaction transaction) throws StreamIsFull, ProtocolException, TransactionException, SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "cmdAdd", new Object[... | java | final void cmdAdd(final LinkOwner stream, long lockID, final PersistentTransaction transaction) throws StreamIsFull, ProtocolException, TransactionException, SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "cmdAdd", new Object[... | [
"final",
"void",
"cmdAdd",
"(",
"final",
"LinkOwner",
"stream",
",",
"long",
"lockID",
",",
"final",
"PersistentTransaction",
"transaction",
")",
"throws",
"StreamIsFull",
",",
"ProtocolException",
",",
"TransactionException",
",",
"SevereMessageStoreException",
"{",
... | Set the state to adding
@param stream stream to which add is being made
@param lockID
@param transaction
@throws StreamIsFull
if the size of the stream would exceed the
maximum permissable size if an add were performed.
@throws ProtocolException
@throws TransactionException
@throws SevereMessageStoreException | [
"Set",
"the",
"state",
"to",
"adding"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java#L1409-L1450 |
70,892 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java | AbstractItemLink.cmdRemoveExpiring | final void cmdRemoveExpiring(final long lockId, final PersistentTransaction transaction) throws ProtocolException, TransactionException, SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "cmdRemoveExpiring", new Object[] { "Item ... | java | final void cmdRemoveExpiring(final long lockId, final PersistentTransaction transaction) throws ProtocolException, TransactionException, SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "cmdRemoveExpiring", new Object[] { "Item ... | [
"final",
"void",
"cmdRemoveExpiring",
"(",
"final",
"long",
"lockId",
",",
"final",
"PersistentTransaction",
"transaction",
")",
"throws",
"ProtocolException",
",",
"TransactionException",
",",
"SevereMessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAny... | Remove while locked for expiry
@param lockId
@param transaction
@throws ProtocolException
@throws TransactionException
@throws SevereMessageStoreException | [
"Remove",
"while",
"locked",
"for",
"expiry"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java#L1673-L1715 |
70,893 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java | AbstractItemLink.isStateLocked | private synchronized final boolean isStateLocked()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(this, tc, "isStateLocked");
SibTr.exit(this, tc, "isStateLocked", _itemLinkState);
}
if (_itemLinkState == ItemLinkState.STATE_L... | java | private synchronized final boolean isStateLocked()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
{
SibTr.entry(this, tc, "isStateLocked");
SibTr.exit(this, tc, "isStateLocked", _itemLinkState);
}
if (_itemLinkState == ItemLinkState.STATE_L... | [
"private",
"synchronized",
"final",
"boolean",
"isStateLocked",
"(",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"{",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",",
"... | Simple function to check if the item link state is
in ItemLinkState.STATE_LOCKED.Seperate function is
created to acquire the lock
@return | [
"Simple",
"function",
"to",
"check",
"if",
"the",
"item",
"link",
"state",
"is",
"in",
"ItemLinkState",
".",
"STATE_LOCKED",
".",
"Seperate",
"function",
"is",
"created",
"to",
"acquire",
"the",
"lock"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java#L2469-L2484 |
70,894 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java | AbstractItemLink.getItem | public final AbstractItem getItem() throws SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getItem");
AbstractItem item = _getItemNoRestore();
synchronized (this)
{
if (isExpired())
... | java | public final AbstractItem getItem() throws SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getItem");
AbstractItem item = _getItemNoRestore();
synchronized (this)
{
if (isExpired())
... | [
"public",
"final",
"AbstractItem",
"getItem",
"(",
")",
"throws",
"SevereMessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
... | When the item is required, the hard and soft references are examined to
detect an existing item in memory. If there is one then this item is used.
If the item does not have a hard or soft reference, but does have a
persistent representation, then we attempt to restore the item from its
persistent representation.
If we ... | [
"When",
"the",
"item",
"is",
"required",
"the",
"hard",
"and",
"soft",
"references",
"are",
"examined",
"to",
"detect",
"an",
"existing",
"item",
"in",
"memory",
".",
"If",
"there",
"is",
"one",
"then",
"this",
"item",
"is",
"used",
".",
"If",
"the",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java#L2580-L2652 |
70,895 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java | AbstractItemLink.setInMemoryItemSize | private final void setInMemoryItemSize(AbstractItem item)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setInMemoryItemSize", item);
// If we have an Item, we can ask it for its estimated size.
if (item != null) {
_inMemoryI... | java | private final void setInMemoryItemSize(AbstractItem item)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setInMemoryItemSize", item);
// If we have an Item, we can ask it for its estimated size.
if (item != null) {
_inMemoryI... | [
"private",
"final",
"void",
"setInMemoryItemSize",
"(",
"AbstractItem",
"item",
")",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
"tc",
",... | setInMemoryItemSize
Set the _inMemoryItemSize from the Item itself, if we have one, or from what
we can find out from the Tuple. Also set the corresponding value in the Tuple. | [
"setInMemoryItemSize",
"Set",
"the",
"_inMemoryItemSize",
"from",
"the",
"Item",
"itself",
"if",
"we",
"have",
"one",
"or",
"from",
"what",
"we",
"can",
"find",
"out",
"from",
"the",
"Tuple",
".",
"Also",
"set",
"the",
"corresponding",
"value",
"in",
"the",
... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java#L2800-L2816 |
70,896 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java | AbstractItemLink.isExpired | final boolean isExpired() throws SevereMessageStoreException
{ // 182086
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "isExpired");
if (isAvailable() && internalCanExpire())
{
// we can only expire if we are available
... | java | final boolean isExpired() throws SevereMessageStoreException
{ // 182086
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "isExpired");
if (isAvailable() && internalCanExpire())
{
// we can only expire if we are available
... | [
"final",
"boolean",
"isExpired",
"(",
")",
"throws",
"SevereMessageStoreException",
"{",
"// 182086",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled",
"(",
")",
")",
"SibTr",
".",
"entry",
"(",
"this",
",",
... | Establish whether the item has reached its expiry time and if so, query
it to see if it is willing to expire. If so, set the state accordingly
and lock the item for expiry.
@return true if the item has already expired or if it has now been
found to have reached its expiry time and is ready to be expired.
Returns true ... | [
"Establish",
"whether",
"the",
"item",
"has",
"reached",
"its",
"expiry",
"time",
"and",
"if",
"so",
"query",
"it",
"to",
"see",
"if",
"it",
"is",
"willing",
"to",
"expire",
".",
"If",
"so",
"set",
"the",
"state",
"accordingly",
"and",
"lock",
"the",
"... | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java#L2940-L2986 |
70,897 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java | AbstractItemLink.matches | public final AbstractItem matches(final Filter filter, boolean allowUnavailable) throws SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "matches", new Object[] { filter, Boolean.valueOf(allowUnavailable) });
AbstractIt... | java | public final AbstractItem matches(final Filter filter, boolean allowUnavailable) throws SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "matches", new Object[] { filter, Boolean.valueOf(allowUnavailable) });
AbstractIt... | [
"public",
"final",
"AbstractItem",
"matches",
"(",
"final",
"Filter",
"filter",
",",
"boolean",
"allowUnavailable",
")",
"throws",
"SevereMessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",
")",
"&&",
"tc",
".",
"isEntryEnabled... | Version used by browse cursor as it can be set to allow matching
unavailable items to be seen.
@param filter
@param allowUnavailable
@throws SevereMessageStoreException | [
"Version",
"used",
"by",
"browse",
"cursor",
"as",
"it",
"can",
"be",
"set",
"to",
"allow",
"matching",
"unavailable",
"items",
"to",
"be",
"seen",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java#L3480-L3516 |
70,898 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java | AbstractItemLink.persistLock | @Override
public final void persistLock(final Transaction transaction) throws ProtocolException, TransactionException, SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "persistLock", transaction);
if (null != transa... | java | @Override
public final void persistLock(final Transaction transaction) throws ProtocolException, TransactionException, SevereMessageStoreException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "persistLock", transaction);
if (null != transa... | [
"@",
"Override",
"public",
"final",
"void",
"persistLock",
"(",
"final",
"Transaction",
"transaction",
")",
"throws",
"ProtocolException",
",",
"TransactionException",
",",
"SevereMessageStoreException",
"{",
"if",
"(",
"TraceComponent",
".",
"isAnyTracingEnabled",
"(",... | Use this to lock persistently. Invoke indirectly by the API.
@param transaction
@exception ProtocolException
Thrown if an add is attempted when the
transaction cannot allow any further work to be added i.e. after
completion of the transaction.
@exception TransactionException
Thrown if an unexpected error occurs.
@thr... | [
"Use",
"this",
"to",
"lock",
"persistently",
".",
"Invoke",
"indirectly",
"by",
"the",
"API",
"."
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java#L3636-L3653 |
70,899 | OpenLiberty/open-liberty | dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java | AbstractItemLink.readDataFromPersistence | @Override
public final List<DataSlice> readDataFromPersistence() throws SevereMessageStoreException
{
List<DataSlice> dataSlices;
// lazy restoration only needed if the item was stored. There is
// no point trying to restore if there is no data.
PersistentMessageStore pm = getMe... | java | @Override
public final List<DataSlice> readDataFromPersistence() throws SevereMessageStoreException
{
List<DataSlice> dataSlices;
// lazy restoration only needed if the item was stored. There is
// no point trying to restore if there is no data.
PersistentMessageStore pm = getMe... | [
"@",
"Override",
"public",
"final",
"List",
"<",
"DataSlice",
">",
"readDataFromPersistence",
"(",
")",
"throws",
"SevereMessageStoreException",
"{",
"List",
"<",
"DataSlice",
">",
"dataSlices",
";",
"// lazy restoration only needed if the item was stored. There is",
"// n... | Feature SIB0112le.ms.1 | [
"Feature",
"SIB0112le",
".",
"ms",
".",
"1"
] | ca725d9903e63645018f9fa8cbda25f60af83a5d | https://github.com/OpenLiberty/open-liberty/blob/ca725d9903e63645018f9fa8cbda25f60af83a5d/dev/com.ibm.ws.messaging.msgstore/src/com/ibm/ws/sib/msgstore/cache/links/AbstractItemLink.java#L3773-L3790 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.