_id
stringlengths
2
7
title
stringlengths
3
140
partition
stringclasses
3 values
text
stringlengths
73
34.1k
language
stringclasses
1 value
meta_information
dict
q152300
AuthConfigFactoryWrapper.setFactoryImplementation
train
synchronized static void setFactoryImplementation() { if (initialized) return; initialized = true; String authConfigProvider = Security.getProperty(AuthConfigFactory.DEFAULT_FACTORY_SECURITY_PROPERTY); if (authConfigProvider == null || authConfigProvider.isEmpty()) { ...
java
{ "resource": "" }
q152301
DDParser.getValidEnumConstants
train
private <T extends Enum<T>> Object[] getValidEnumConstants(Class<T> valueClass) { T[] constants = valueClass.getEnumConstants(); if (!VersionedEnum.class.isAssignableFrom(valueClass)) { return constants; } List<T> valid = new ArrayList<T>(constants.length); for (T va...
java
{ "resource": "" }
q152302
WebProviderAuthenticatorProxy.getSSOAuthenticator
train
public WebAuthenticator getSSOAuthenticator(WebRequest webRequest, String ssoCookieName) { SecurityMetadata securityMetadata = webRequest.getSecurityMetadata(); SecurityService securityService = securityServiceRef.getService(); SSOCookieHelper cookieHelper; if (ssoCookieName != null) { ...
java
{ "resource": "" }
q152303
AbstractForAWhileSuppressor.initProperties
train
private void initProperties(int interval) { // Limit to 1 .. MAXIMUM_INTERVAL if (interval > MAXIMUM_INTERVAL) interval = MAXIMUM_INTERVAL; if (interval < 1) interval = 1; _interval = interval; }
java
{ "resource": "" }
q152304
FileSystem.uriCaseCheck
train
public static boolean uriCaseCheck(File file, String matchString) throws java.io.IOException { if (isCaseInsensitive || isWindows) { // security measure to ensure that this check is only performed on case // sensitive servers // begin 154268 matchString = WSUtil.resolveURI(...
java
{ "resource": "" }
q152305
WASInjectionProvider.inject
train
public Object inject(Class Klass, boolean doPostConstruct) throws InjectionProviderException { return inject(Klass,doPostConstruct,(ExternalContext)null); }
java
{ "resource": "" }
q152306
CompletionKey.destroy
train
protected void destroy() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "CompletionKey::destroy entered for:" + this); } // Free existing ByteBuffer objects. if (this.rawData != null) { if (this.wsByteBuf != null) { ...
java
{ "resource": "" }
q152307
CompletionKey.setBuffer
train
public void setBuffer(long address, long length, int index) { if ((index < 0) || (index >= this.bufferCount)) { throw new IllegalArgumentException(); } this.stagingByteBuffer.putLong((FIRST_BUFFER_INDEX + (2 * index)) * 8, address); this.stagingByteBuffer.putLong((FIRST_BUFF...
java
{ "resource": "" }
q152308
CompletionKey.getReturnCode
train
public int getReturnCode() { long returnCode = this.stagingByteBuffer.getLong(RETURN_CODE_INDEX * 8); if (returnCode > Integer.MAX_VALUE) { AsyncException ae = new AsyncException("Return code value invalid"); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { ...
java
{ "resource": "" }
q152309
WebAppFilterManager.init
train
public void init() { // load the filter mappings (copy of the list in case add is called while we iterate) List fMappings = new ArrayList(webAppConfig.getFilterMappings()); // if the list isn't empty, show that this web app has filters if (!fMappings.isEmpty()) { if (com.ibm...
java
{ "resource": "" }
q152310
WebAppFilterManager.getFilterInstanceWrapper
train
public FilterInstanceWrapper getFilterInstanceWrapper(String filterName) throws ServletException { if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) logger.entering(CLASS_NAME,"getFilterInstanceWrapper", "entry for " + filterName); try { ...
java
{ "resource": "" }
q152311
WebAppFilterManager.shutdown
train
public void shutdown() { // call destroy on each filter instance wrapper Enumeration filterWrappers = _filterWrappers.elements(); ClassLoader origClassLoader = ThreadContextHelper.getContextClassLoader(); try { final ClassLoader warClassLoader = webApp.getClassLoader(); ...
java
{ "resource": "" }
q152312
WebAppFilterManager.loadFilter
train
private FilterInstanceWrapper loadFilter(String filterName) throws ServletException { ClassLoader origClassLoader = ThreadContextHelper.getContextClassLoader(); try { final ClassLoader warClassLoader = webApp.getClassLoader(); if (warClassLoader != origClassLoader) { ...
java
{ "resource": "" }
q152313
WebAppFilterManager.createFilterInstanceWrapper
train
protected FilterInstanceWrapper createFilterInstanceWrapper (String filterName, Filter filter, ManagedObject mo) throws InjectionException{ //596191 updated signature return new FilterInstanceWrapper(filterName, filter, _evtSource, mo); }
java
{ "resource": "" }
q152314
WebAppFilterManager.uriMatch
train
private boolean uriMatch(String requestURI, IFilterMapping fmInfo, DispatcherType dispatcherType) { boolean theyMatch = false; // determine what type of filter uri we have switch (fmInfo.getMappingType()) { case FMI_MAPPING_SINGLE_SLASH: // default servlet mapping......
java
{ "resource": "" }
q152315
InlineModelResolver.makeRefProperty
train
public Schema makeRefProperty(String ref, Schema property) { Schema newProperty = new SchemaImpl().ref(ref); this.copyVendorExtensions(property, newProperty); return newProperty; }
java
{ "resource": "" }
q152316
InlineModelResolver.copyVendorExtensions
train
public void copyVendorExtensions(Schema source, Schema target) { if (source.getExtensions() != null) { Map<String, Object> vendorExtensions = source.getExtensions(); for (String extName : vendorExtensions.keySet()) { ((SchemaImpl) target).addExtension_compat(extName, vend...
java
{ "resource": "" }
q152317
IDToken.verify
train
@FFDCIgnore({ IDTokenValidationFailedException.class }) @Override public boolean verify(long clockSkew, Object key) throws IDTokenValidationFailedException { boolean verified = false; try { if (super.verify(clockSkew, key)) { payload.putAll(super.getPayloa...
java
{ "resource": "" }
q152318
MsgDestEncodingUtilsImpl.getPropertyType
train
final static Class getPropertyType(String longPropertyName) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getPropertyType", longPropertyName); Class propType = null; PropertyEntry prop = propertyMap.get(longPropertyName); if (prop != null) { propType = prop....
java
{ "resource": "" }
q152319
MsgDestEncodingUtilsImpl.convertPropertyToType
train
final static Object convertPropertyToType(String longPropertyName, String stringValue) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "convertPropertyToType", new Object[]{longPropertyName, stringValue}); // If the value is null or already a String we won't have anything to ...
java
{ "resource": "" }
q152320
MsgDestEncodingUtilsImpl.initializePropertyMaps
train
private static void initializePropertyMaps() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "initializePropertyMap"); // Add all the supported properties to the PropertyMaps: // PR, DM, and TL use the PhantomPropertyCoder as they are encoded/decoded // separately rat...
java
{ "resource": "" }
q152321
MsgDestEncodingUtilsImpl.decodeBasicProperties
train
private static int decodeBasicProperties(JmsDestination newDest, byte[] msgForm) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "decodeBasicProperties", new Object[]{newDest, msgForm}); int offset = 0; // The 2nd half of the first byte carries the De...
java
{ "resource": "" }
q152322
MsgDestEncodingUtilsImpl.setProperty
train
private static void setProperty(JmsDestination dest, String longName, int propIntValue, Object value) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setProperty", new Object[]{dest, longName, propIntValue, value}); switch (propIntValue) { case PR_I...
java
{ "resource": "" }
q152323
MessageListenerSetter.setMessageListener
train
public void setMessageListener(MessageConsumer consumer, MessageListener listener) throws JMSException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setMessageListener", new Object[]{consumer, listener}); if (!(consumer instanceof JmsMsgConsumerImpl)) { // This...
java
{ "resource": "" }
q152324
RemoteQPConsumerKey.updateLastNotReadyTime
train
protected final void updateLastNotReadyTime() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "updateLastNotReadyTime"); if (readAhead) { // only relevant when prefetching synchronized (this) { // it is possible that both the CP and the R...
java
{ "resource": "" }
q152325
RemoteQPConsumerKey.messageReceived
train
protected final void messageReceived(AIStreamKey key) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "messageReceived", key); long timeout = refillTime; boolean reissueGet = false; synchronized (this) { countOfUnlockedMessages++; ...
java
{ "resource": "" }
q152326
RemoteQPConsumerKey.completedReceived
train
protected final void completedReceived(AIStreamKey key, boolean reissueGet) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "completedReceived", new Object[] {key, Boolean.valueOf(reissueGet)}); completedReceivedNoPrefetch(key, reissueGet); try { i...
java
{ "resource": "" }
q152327
RemoteQPConsumerKey.completedReceivedNoPrefetch
train
protected final void completedReceivedNoPrefetch(AIStreamKey key, boolean reissueGet) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "completedReceivedNoPrefetch", new Object[] {key, Boolean.valueOf(reissueGet)}); boolean initiateRefill = false; long timeo...
java
{ "resource": "" }
q152328
RemoteQPConsumerKey.messageLocked
train
public final void messageLocked(AIStreamKey key) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "messageLocked", key); synchronized (this) { countOfUnlockedMessages--; if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())...
java
{ "resource": "" }
q152329
RemoteQPConsumerKey.messageUnlocked
train
public final void messageUnlocked(AIStreamKey key) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "messageUnlocked", key); synchronized (this) { countOfUnlockedMessages++; if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) ...
java
{ "resource": "" }
q152330
RemoteQPConsumerKey.tryPrefetching
train
private final void tryPrefetching() throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "tryPrefetching"); int toPrefetchCount = 0; // count of gets to issue synchronized (this) { if (!detached) { int count = co...
java
{ "resource": "" }
q152331
LocalTranCurrentImpl.suspend
train
public LocalTransactionCoordinator suspend() { if (tc.isEntryEnabled()) Tr.entry(tc, "suspend", this); final LocalTranCoordImpl ltc = _coord; if (ltc != null) { _coord = null; ltc.suspend(); // suspend any native context inv...
java
{ "resource": "" }
q152332
LocalTranCurrentImpl.resume
train
public void resume(LocalTransactionCoordinator ltc) // throws IllegalStateException { if (tc.isEntryEnabled()) Tr.entry(tc, "resume", new Object[]{ltc, this}); // If there's already an LTC on this thread and the LTC that we're // resuming is non-null then fail the resume attempt. Th...
java
{ "resource": "" }
q152333
LocalTranCurrentImpl.hasOutstandingWork
train
public boolean hasOutstandingWork() { if (tc.isEntryEnabled()) Tr.entry(tc, "hasOutstandingWork", this); final boolean retval = (_coord != null) ? _coord.hasWork() : false; if (tc.isEntryEnabled()) Tr.exit(tc, "hasOutstandingWork", retval); return retval; }
java
{ "resource": "" }
q152334
LocalTranCurrentImpl.setCoordinator
train
void setCoordinator(LocalTranCoordImpl ltc) { _coord = ltc; if (tc.isDebugEnabled()) Tr.debug(tc, "setCoordinator: LTC="+ltc); }
java
{ "resource": "" }
q152335
AbstractConnectionFactoryService.createResource
train
@Override public Object createResource(final ResourceInfo resInfo) throws Exception { final boolean trace = TraceComponent.isAnyTracingEnabled(); if (trace && tc.isEntryEnabled()) Tr.entry(this, tc, "createResource", resInfo); Object connectionFactory; lock.readLock().l...
java
{ "resource": "" }
q152336
AbstractConnectionFactoryService.destroyXAResource
train
@Override public void destroyXAResource(XAResource xa) throws DestroyXAResourceException { final boolean trace = TraceComponent.isAnyTracingEnabled(); if (trace && tc.isEntryEnabled()) Tr.entry(this, tc, "destroyXAResource", xa); ManagedConnection mc = ((WSXAResource) xa).getMa...
java
{ "resource": "" }
q152337
AbstractConnectionFactoryService.getXAResource
train
@Override public XAResource getXAResource(Serializable xaresinfo) throws XAResourceNotAvailableException { final boolean trace = TraceComponent.isAnyTracingEnabled(); if (trace && tc.isEntryEnabled()) Tr.entry(this, tc, "getXAResource", getID(), xaresinfo); XAResource xa; ...
java
{ "resource": "" }
q152338
AbstractConnectionFactoryService.setContainerAuthData
train
protected void setContainerAuthData(ServiceReference<?> ref) { // com.ibm.websphere.security.auth.data.AuthData if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(this, tc, "setContainerAuthData", ref); lock.writeLock().lock(); try { containerAuthDa...
java
{ "resource": "" }
q152339
AbstractConnectionFactoryService.setRecoveryAuthData
train
protected void setRecoveryAuthData(ServiceReference<?> ref) { // com.ibm.websphere.security.auth.data.AuthData if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(this, tc, "setRecoveryAuthData", ref); lock.writeLock().lock(); try { recoveryAuthDataR...
java
{ "resource": "" }
q152340
JPAScopeInfo.getAllPuCount
train
int getAllPuCount() { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "getAllPuCount", this); int rtnCount = 0; synchronized (pxmlsInfo) { for (JPAPxmlInfo pxmlInfo : pxmlsInfo.values()) { ...
java
{ "resource": "" }
q152341
JPAScopeInfo.getUniquePuInfo
train
JPAPUnitInfo getUniquePuInfo() { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "getUniquePuInfo"); JPAPUnitInfo rtnVal = null; synchronized (pxmlsInfo) { for (JPAPxmlInfo pxmlInfo : pxmlsInfo.v...
java
{ "resource": "" }
q152342
JPAScopeInfo.close
train
void close() { synchronized (pxmlsInfo) { for (JPAPxmlInfo pxmlInfo : pxmlsInfo.values()) { pxmlInfo.close(); } pxmlsInfo.clear(); } }
java
{ "resource": "" }
q152343
BoundedBuffer.put
train
public T put(T t, long timeoutInMillis, int maximumCapacity) throws InterruptedException { if ((t == null) || (maximumCapacity > buffer.length)) { throw new IllegalArgumentException(); } long start = (timeoutInMillis <= 0) ? 0 : -1; long waitTime = timeoutInMillis; ...
java
{ "resource": "" }
q152344
BoundedBuffer.expeditedInsert
train
private final void expeditedInsert(T t) { expeditedBuffer[expeditedPutIndex] = t; if (++expeditedPutIndex >= expeditedBuffer.length) { expeditedPutIndex = 0; } }
java
{ "resource": "" }
q152345
BoundedBuffer.expeditedExtract
train
private final T expeditedExtract() { T old = expeditedBuffer[expeditedTakeIndex]; expeditedBuffer[expeditedTakeIndex] = null; if (++expeditedTakeIndex >= expeditedBuffer.length) expeditedTakeIndex = 0; return old; }
java
{ "resource": "" }
q152346
BoundedBuffer.expandExpedited
train
@SuppressWarnings("unchecked") public synchronized void expandExpedited(int additionalCapacity) { if (additionalCapacity <= 0) { throw new IllegalArgumentException(); } int capacityBefore = expeditedBuffer.length; synchronized (lock) { // D312598 int capacity...
java
{ "resource": "" }
q152347
PersistentExecutorImpl.deserialize
train
public final Object deserialize(byte[] bytes, ClassLoader loader) throws ClassNotFoundException, IOException { if (bytes == null) return null; InputStream iin = new InflaterInputStream(new ByteArrayInputStream(bytes)); SerializationService serializationSvc = serializationSvcRef.getS...
java
{ "resource": "" }
q152348
PersistentExecutorImpl.findPartitionInfo
train
String[][] findPartitionInfo(String hostName, String userDir, String libertyServerName, String executorIdentifier) throws Exception { PartitionRecord criteria = new PartitionRecord(false); if (hostName != null) criteria.setHostName(hostName); if (userDir != null) criteria...
java
{ "resource": "" }
q152349
PersistentExecutorImpl.getStatus
train
@Override public <T> TaskStatus<T> getStatus(long taskId) { String owner = getOwner(); if (owner == null) return null; TransactionController tranController = new TransactionController(); TaskRecord taskRecord = null; try { tranController.preInvoke(); ...
java
{ "resource": "" }
q152350
PersistentExecutorImpl.notifyOfTaskAssignment
train
public void notifyOfTaskAssignment(long taskId, long nextExecTime, short binaryFlags, int transactionTimeout) { final boolean trace = TraceComponent.isAnyTracingEnabled(); Boolean previous = inMemoryTaskIds.put(taskId, Boolean.TRUE); if (previous == null) { InvokerTask task = new Inv...
java
{ "resource": "" }
q152351
PersistentExecutorImpl.removePartitionInfo
train
int removePartitionInfo(String hostName, String userDir, String libertyServerName, String executorIdentifier) throws Exception { PartitionRecord criteria = new PartitionRecord(false); if (hostName != null) criteria.setHostName(hostName); if (userDir != null) criteria.setU...
java
{ "resource": "" }
q152352
PersistentExecutorImpl.serialize
train
public final byte[] serialize(Object object) throws IOException { if (object == null) return null; ByteArrayOutputStream bout = new ByteArrayOutputStream(); SerializationService serializationSvc = serializationSvcRef.getServiceWithException(); ObjectOutputStream oout = seria...
java
{ "resource": "" }
q152353
PersistentExecutorImpl.setApplicationTracker
train
@Reference(service = ApplicationTracker.class) protected void setApplicationTracker(ServiceReference<ApplicationTracker> ref) { appTrackerRef.setReference(ref); }
java
{ "resource": "" }
q152354
PersistentExecutorImpl.setController
train
@Reference(service = Controller.class, cardinality = ReferenceCardinality.OPTIONAL, policy = ReferencePolicy.DYNAMIC, policyOption = ReferencePolicyOption.GREEDY) protected void setController(ServiceReference<Controller> ref) { controllerRef.setReference(ref); ...
java
{ "resource": "" }
q152355
PersistentExecutorImpl.setLocalTransactionCurrent
train
@Reference(service = LocalTransactionCurrent.class) protected void setLocalTransactionCurrent(ServiceReference<LocalTransactionCurrent> ref) { localTranCurrentRef.setReference(ref); }
java
{ "resource": "" }
q152356
PersistentExecutorImpl.setSerializationService
train
@Reference(service = SerializationService.class) protected void setSerializationService(ServiceReference<SerializationService> ref) { serializationSvcRef.setReference(ref); }
java
{ "resource": "" }
q152357
PersistentExecutorImpl.setTaskStore
train
@Reference(target = "(id=unbound)") protected void setTaskStore(DatabaseStore svc, Map<String, Object> props) { persistentStore = svc; persistentStoreDisplayId = (String) props.get("config.displayId"); }
java
{ "resource": "" }
q152358
PersistentExecutorImpl.setTransactionManager
train
@Reference(service = EmbeddableWebSphereTransactionManager.class) protected void setTransactionManager(ServiceReference<EmbeddableWebSphereTransactionManager> ref) { tranMgrRef.setReference(ref); }
java
{ "resource": "" }
q152359
PersistentExecutorImpl.transfer
train
int transfer(Long maxTaskId, long oldPartitionId) throws Exception { long partitionId = getPartitionId(); TransactionController tranController = new TransactionController(); int count = 0; try { tranController.preInvoke(); count = taskStore.transfer(maxTaskId, o...
java
{ "resource": "" }
q152360
PersistentExecutorImpl.updatePartitionInfo
train
int updatePartitionInfo(String oldHostName, String oldUserDir, String oldLibertyServerName, String oldExecutorIdentifier, String newHostName, String newUserDir, String newLibertyServerName, String newExecutorIdentifier) throws Exception { PartitionRecord updates = new PartitionRecord...
java
{ "resource": "" }
q152361
PersistentExecutorImpl.startPollingTask
train
private void startPollingTask(Config config) { Future<?> future; PollingTask pollingTask = new PollingTask(config); future = scheduledExecutor.schedule(pollingTask, config.initialPollDelay, TimeUnit.MILLISECONDS); pollingFutureRef.getAndSet(future); }
java
{ "resource": "" }
q152362
PersistentExecutorImpl.configUpdateInProgress
train
private int configUpdateInProgress() { int retVal; configUpdatePendingQueueLock.writeLock().lock(); try { retVal = configUpdatesInProgress; configUpdatesInProgress++; } finally { configUpdatePendingQueueLock.writeLock().unlock(); } ret...
java
{ "resource": "" }
q152363
JSCompatibleBoxList.get
train
public Object get(int index) { try { return getValue(index); } catch (JMFException e) { FFDCFilter.processException(e, "get", "125", this); return null; } }
java
{ "resource": "" }
q152364
X509NameEntryConverter.convertHexEncoded
train
protected DERObject convertHexEncoded( String str, int off) throws IOException { str = str.toLowerCase(); byte[] data = new byte[str.length() / 2]; for (int index = 0; index != data.length; index++) { char left = str.charAt((index * 2) + of...
java
{ "resource": "" }
q152365
X509NameEntryConverter.canBePrintable
train
protected boolean canBePrintable( String str) { for (int i = str.length() - 1; i >= 0; i--) { char ch = str.charAt(i); if (str.charAt(i) > 0x007f) { return false; } if ('a' <= ch && ch <= 'z') { ...
java
{ "resource": "" }
q152366
X509NameEntryConverter.canBeUTF8
train
protected boolean canBeUTF8( String str) { for (int i = str.length() - 1; i >= 0; i--) { if (str.charAt(i) > 0x00ff) { return false; } } return true; }
java
{ "resource": "" }
q152367
SQLSharedServerLeaseLog.insertNewLease
train
private void insertNewLease(String recoveryIdentity, String recoveryGroup, Connection conn) throws SQLException { if (tc.isEntryEnabled()) Tr.entry(tc, "insertNewLease", this); short serviceId = (short) 1; String insertString = "INSERT INTO " + _lea...
java
{ "resource": "" }
q152368
SourceStreamManager.addMessage
train
public boolean addMessage(SIMPMessage msgItem) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "addMessage", new Object[] { msgItem }); // Get the JsMessage as we need to update the Guaranteed fields JsMessage jsMsg = msgItem.getMessag...
java
{ "resource": "" }
q152369
SourceStreamManager.addBestEffortMessage
train
private void addBestEffortMessage(SIMPMessage msgItem) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "addBestEffortMessage", new Object[] { msgItem }); // Get the JsMessage as we need to update the Guaranteed fields JsMessage jsMsg...
java
{ "resource": "" }
q152370
SourceStreamManager.processAck
train
public List processAck(ControlAck ackMsg) throws SIRollbackException, SIConnectionLostException, SIResourceException, SIErrorException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "processAck", new Object[] { ackMsg }); // Get the ackPrefix from the message...
java
{ "resource": "" }
q152371
SourceStreamManager.processAck
train
public List processAck(ControlAck ackMsg, long ackPrefix) throws SIRollbackException, SIConnectionLostException, SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "processAck", new Object[] { ackMsg, new Long(ackPrefix) }); List indexList = null; ...
java
{ "resource": "" }
q152372
SourceStreamManager.processNack
train
public void processNack(ControlNack nackMsg) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "processNack", nackMsg); // Short circuit if incoming message has wrong stream ID if (!hasStream(nackMsg.getGuaranteedStreamUUID())) { ...
java
{ "resource": "" }
q152373
SourceStreamManager.isFlushed
train
public boolean isFlushed(SIBUuid12 streamID) { //note that although it is true that this method is currently //equivalent to !hadStream(streamID), it may not always be true in //the future. if(streamSet == null) return true; return !streamID.equals(streamSet.getStreamID()); }
java
{ "resource": "" }
q152374
SourceStreamManager.reconstituteStreamSet
train
public void reconstituteStreamSet(StreamSet newStreamSet) throws SIRollbackException, SIConnectionLostException, SIResourceException, SIErrorException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "reconstituteStreamSet", streamSet); //remove the old one if(s...
java
{ "resource": "" }
q152375
SourceStreamManager.consolidateStreams
train
public List consolidateStreams(int startMode) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "consolidateStreams"); List<List> sentMsgs = new ArrayList<List>(); StreamSet streamSet = getStreamSet(); //iterate over the non-null str...
java
{ "resource": "" }
q152376
SourceStreamManager.attemptFlush
train
protected void attemptFlush() throws SIRollbackException, SIConnectionLostException, SIResourceException, SIErrorException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc,"attemptFlush"); //The FlushComplete callback FlushComplete callback = null; //The old set...
java
{ "resource": "" }
q152377
SourceStreamManager.processFlushQuery
train
public void processFlushQuery(ControlAreYouFlushed flushQuery) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "processFlushQuery", new Object[] { flushQuery }); SIBUuid12 streamID = flushQuery.getGuaranteedStreamUUID(); try { ...
java
{ "resource": "" }
q152378
SourceStreamManager.updateTargetCellule
train
public synchronized void updateTargetCellule( SIBUuid8 targetMEUuid ) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "updateTargetCellule", targetMEUuid); if( pointTopoint) { this.targetMEUuid = targetMEUuid; StreamSet stre...
java
{ "resource": "" }
q152379
JSLJob.getExecutionElements
train
@Generated(value = "com.ibm.jtc.jax.tools.xjc.Driver", date = "2014-06-11T05:49:00-04:00", comments = "JAXB RI v2.2.3-11/28/2011 06:21 AM(foreman)-") public List<ExecutionElement> getExecutionElements() { if (executionElements == null) { executionElements = new ArrayList<ExecutionElement>(); ...
java
{ "resource": "" }
q152380
SICoreUtils.isDestinationPrefixValid
train
public static final String isDestinationPrefixValid(String destinationPrefix) { String result = VALID; // Assume the prefix is valid until we know otherwise. boolean isValid = true; // null indicates that no destination prefix is being used. if (null != destinationPrefix) {...
java
{ "resource": "" }
q152381
JEEMetadataContextProviderImpl.setComponentMetadataDecorator
train
@Reference(service = ComponentMetaDataDecorator.class, name = "componentMetadataDecorator", cardinality = ReferenceCardinality.MULTIPLE, policy = ReferencePolicy.DYNAMIC) protected void setComponentMetadataDecorator(ServiceReference<ComponentMetaDataDecorator> ref) { componentM...
java
{ "resource": "" }
q152382
JEEMetadataContextProviderImpl.unsetComponentMetadataDecorator
train
protected void unsetComponentMetadataDecorator(ServiceReference<ComponentMetaDataDecorator> ref) { componentMetadataDecoratorRefs.removeReference((String) ref.getProperty("component.name"), ref); }
java
{ "resource": "" }
q152383
ServletContextFacade.addMappingFilter
train
public void addMappingFilter(String mapping, com.ibm.websphere.servlet.filter.IFilterConfig config){ context.addMappingFilter(mapping, config); }
java
{ "resource": "" }
q152384
WsocChain.disable
train
public void disable() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(this, tc, "disable chain " + this); } enabled = false; }
java
{ "resource": "" }
q152385
WsocChain.stop
train
public synchronized void stop() { if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.event(this, tc, "stop chain " + this); } // We don't have to check enabled/disabled here: chains are always allowed to stop. if (currentConfig == null) return;...
java
{ "resource": "" }
q152386
ControlMessageFactoryImpl.createNewSubscriptionMessage
train
public final SubscriptionMessage createNewSubscriptionMessage() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewSubscriptionMessage"); SubscriptionMessage msg = null; try { msg = new SubscriptionMessageImpl(MfpConstants.C...
java
{ "resource": "" }
q152387
ControlMessageFactoryImpl.createNewControlAckExpected
train
public final ControlAckExpected createNewControlAckExpected() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewControlAckExpected"); ControlAckExpected msg = null; try { msg = new ControlAckExpectedImpl(MfpConstants.CONSTR...
java
{ "resource": "" }
q152388
ControlMessageFactoryImpl.createNewControlSilence
train
public final ControlSilence createNewControlSilence() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewControlSilence"); ControlSilence msg = null; try { msg = new ControlSilenceImpl(MfpConstants.CONSTRUCTOR_NO_OP); } ...
java
{ "resource": "" }
q152389
ControlMessageFactoryImpl.createNewControlAck
train
public final ControlAck createNewControlAck() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewControlAck"); ControlAck msg = null; try { msg = new ControlAckImpl(MfpConstants.CONSTRUCTOR_NO_OP); } catch (MessageDe...
java
{ "resource": "" }
q152390
ControlMessageFactoryImpl.createNewControlNack
train
public final ControlNack createNewControlNack() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewControlNack"); ControlNack msg = null; try { msg = new ControlNackImpl(MfpConstants.CONSTRUCTOR_NO_OP); } catch (Mess...
java
{ "resource": "" }
q152391
ControlMessageFactoryImpl.createNewControlPrevalue
train
public final ControlPrevalue createNewControlPrevalue() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewControlPrevalue"); ControlPrevalue msg = null; try { msg = new ControlPrevalueImpl(MfpConstants.CONSTRUCTOR_NO_OP); ...
java
{ "resource": "" }
q152392
ControlMessageFactoryImpl.createNewControlAccept
train
public final ControlAccept createNewControlAccept() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewControlAccept"); ControlAccept msg = null; try { msg = new ControlAcceptImpl(MfpConstants.CONSTRUCTOR_NO_OP); } c...
java
{ "resource": "" }
q152393
ControlMessageFactoryImpl.createNewControlReject
train
public final ControlReject createNewControlReject() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewControlReject"); ControlReject msg = null; try { msg = new ControlRejectImpl(MfpConstants.CONSTRUCTOR_NO_OP); } c...
java
{ "resource": "" }
q152394
ControlMessageFactoryImpl.createNewControlDecision
train
public final ControlDecision createNewControlDecision() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewControlDecision"); ControlDecision msg = null; try { msg = new ControlDecisionImpl(MfpConstants.CONSTRUCTOR_NO_OP); ...
java
{ "resource": "" }
q152395
ControlMessageFactoryImpl.createNewControlRequest
train
public final ControlRequest createNewControlRequest() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewControlRequest"); ControlRequest msg = null; try { msg = new ControlRequestImpl(MfpConstants.CONSTRUCTOR_NO_OP); } ...
java
{ "resource": "" }
q152396
ControlMessageFactoryImpl.createNewControlRequestAck
train
public final ControlRequestAck createNewControlRequestAck() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewControlRequestAck"); ControlRequestAck msg = null; try { msg = new ControlRequestAckImpl(MfpConstants.CONSTRUCTOR...
java
{ "resource": "" }
q152397
ControlMessageFactoryImpl.createNewControlRequestHighestGeneratedTick
train
public final ControlRequestHighestGeneratedTick createNewControlRequestHighestGeneratedTick() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewControlRequestHighestGeneratedTick"); ControlRequestHighestGeneratedTick msg = null; ...
java
{ "resource": "" }
q152398
ControlMessageFactoryImpl.createNewControlHighestGeneratedTick
train
public final ControlHighestGeneratedTick createNewControlHighestGeneratedTick() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewControlHighestGeneratedTick"); ControlHighestGeneratedTick msg = null; try { msg = new Contro...
java
{ "resource": "" }
q152399
ControlMessageFactoryImpl.createNewControlResetRequestAck
train
public final ControlResetRequestAck createNewControlResetRequestAck() throws MessageCreateFailedException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewControlResetRequestAck"); ControlResetRequestAck msg = null; try { msg = new ControlResetRequestAckImpl...
java
{ "resource": "" }