code
stringlengths
73
34.1k
label
stringclasses
1 value
public String getUser() { if (tc.isEntryEnabled()) { SibTr.entry(tc, "getUser"); SibTr.exit(tc, "getUser", user); } return user; }
java
public void setDestination(String destination) { if (tc.isEntryEnabled()) SibTr.entry(tc, "setDestination", destination); this.destination = destination; if (tc.isEntryEnabled()) SibTr.exit(tc, "setDestination"); }
java
public void setSelector(String selector) { if (tc.isEntryEnabled()) SibTr.entry(tc, "setSelector", selector); this.selector = selector; if (tc.isEntryEnabled()) SibTr.exit(tc, "setSelector"); }
java
public void setTopic(String topic) { if (tc.isEntryEnabled()) SibTr.entry(tc, "setTopic", topic); this.topic = topic; if (tc.isEntryEnabled()) SibTr.exit(tc, "setTopic"); }
java
public boolean isNoLocal() { if (tc.isEntryEnabled()) { SibTr.entry(tc, "isNoLocal"); SibTr.exit(tc, "isNoLocal", new Boolean(noLocal)); } return noLocal; }
java
public void setNoLocal(boolean noLocal) { if (tc.isEntryEnabled()) SibTr.entry(tc, "setNoLocal", new Boolean(noLocal)); this.noLocal = noLocal; if (tc.isEntryEnabled()) SibTr.exit(tc, "setNoLocal"); }
java
@FFDCIgnore(URISyntaxException.class) public static String namespaceURIToPackage(String namespaceURI) { try { return nameSpaceURIToPackage(new URI(namespaceURI)); } catch (URISyntaxException ex) { return null; } }
java
public static String nameToIdentifier(String name, IdentifierType type) { if (null == name || name.length() == 0) { return name; } // algorithm will not change an XML name that is already a legal and // conventional (!) Java class, method, or constant identifier bo...
java
public static String getDefaultSSLSocketFactory() { if (defaultSSLSocketFactory == null) { defaultSSLSocketFactory = AccessController.doPrivileged(new PrivilegedAction<String>() { @Override public String run() { return Security.getProperty("ssl.Soc...
java
public static String getDefaultSSLServerSocketFactory() { if (defaultSSLServerSocketFactory == null) { defaultSSLServerSocketFactory = AccessController.doPrivileged(new PrivilegedAction<String>() { @Override public String run() { return Security.ge...
java
public static String getKeyManagerFactoryAlgorithm() { if (keyManagerFactoryAlgorithm == null) { keyManagerFactoryAlgorithm = AccessController.doPrivileged(new PrivilegedAction<String>() { @Override public String run() { return Security.getProperty...
java
public static String getTrustManagerFactoryAlgorithm() { if (trustManagerFactoryAlgorithm == null) { trustManagerFactoryAlgorithm = AccessController.doPrivileged(new PrivilegedAction<String>() { @Override public String run() { return Security.getPr...
java
public static void initializeIBMCMSProvider() throws Exception { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) Tr.entry(tc, "initializeIBMCMSProvider"); Provider provider = Security.getProvider(Constants.IBMCMS_NAME); if (provider != null) { if (Trace...
java
public static void insertProviderAt(Provider newProvider, int slot) { Provider[] provider_list = Security.getProviders(); if (null == provider_list || 0 == provider_list.length) { return; } // add the new provider to the new list at the correct slot #. Provider[] new...
java
public static void removeAllProviders() { Provider[] provider_list = Security.getProviders(); for (int i = 0; i < provider_list.length; i++) { if (provider_list[i] != null) { String name = provider_list[i].getName(); if (name != null) { Se...
java
static void validateAsyncOnInterfaces(Class<?>[] ifaces, TraceComponent tc) { if (ifaces != null) { for (Class<?> iface : ifaces) { // d645943 - Modified the fix integrated for d618337 to include both // the class-level and method-level checks. Since no-interface vie...
java
@Modified protected void modified(ComponentContext context) throws Exception { processProperties(context.getProperties()); deregisterJavaMailMBean(); registerJavaMailMBean(); }
java
@Override public Object createResource(ResourceInfo info) throws Exception { Properties propertyNames = createPropertyNames(); Properties props = createProperties(propertyNames); // The listOfPropMap is how the nested properties (name, value pairs) are // pulled from the Nester clas...
java
private Properties createProperties(Properties propertyNames) { Properties props = new Properties(); for (String key : propertiesArray) { if (sessionProperties.get(key) != null) { if (!key.equalsIgnoreCase(STOREPROTOCOLCLASSNAME) && !key.equalsIgnoreCase(TRANSPORTPROTOCOLCLAS...
java
private Properties createPropertyNames() { Properties propertyNames = new Properties(); propertyNames.setProperty(HOST, "mail.host"); propertyNames.setProperty(USER, "mail.user"); propertyNames.setProperty(FROM, "mail.from"); propertyNames.setProperty(TRANSPORTPROTOCOL, "ma...
java
private Session createSession(Properties props) throws InvalidPasswordDecodingException, UnsupportedCryptoAlgorithmException { Session session = null; // Since the password attribute in the server.xml is masked // the decryption algorythm is needed to before it can be put // it int...
java
@Reference(service = MailSessionRegistrar.class, policy = ReferencePolicy.DYNAMIC, cardinality = ReferenceCardinality.OPTIONAL, target = "(component.name=com.ibm.ws.javamail.management.j2ee.MailSessionRegistrarImpl)") protected void setMailSessionRegistrar...
java
void reset(long time, long latest, AlarmListener listener, Object context, long index) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( tc, "reset", new Object[] { new Long(time), new Long(latest), lis...
java
public static synchronized void init(HpelTraceServiceConfig config) { if (config == null) throw new NullPointerException("LogProviderConfig must not be null"); loggingConfig.compareAndSet(null, config); }
java
@Override public Exception getLinkedException() { //return (Exception) getCause(); Throwable t = getCause(); while (t != null) { if (t instanceof Exception) { return (Exception) t; } else { t = t.getCause(); } } ...
java
public synchronized void lock() { if (tc.isEntryEnabled()) SibTr.entry(tc, "lock", this); boolean interrupted = false; // Attempt to get a lock on the mutex. // if we fail, then that is because the lock // must be held exclusively. while (!tryLock()) try { // Wait f...
java
private boolean tryLock() { if (tc.isEntryEnabled()) SibTr.entry(tc, "tryLock", this); boolean result = false; synchronized (iMutex) { // Check that we aren't exclusively locked. if (!iExclusivelyLocked || iExclusiveLockHolder == Thread.currentThread()) { incrementThr...
java
private void incrementThreadLockCount() { if (tc.isEntryEnabled()) SibTr.entry(tc, "incrementThreadLockCount", this); //get the current thread Thread currentThread = Thread.currentThread(); //get it's current read lock count LockCount count = (LockCount) readerThreads.get(currentThread); ...
java
private boolean alienReadLocksHeld() { if (tc.isEntryEnabled()) SibTr.entry(tc, "alienReadLocksHeld", this); boolean locksHeld = false; //if there is more than one thread holding read locks then return true if(readerThreadCount > 1) { locksHeld = true; } //if there is...
java
private boolean tryLockExclusive() { if (tc.isEntryEnabled()) SibTr.entry(tc, "tryLockExclusive", this); boolean result = false; // Synchronize on the locking Mutex synchronized (iMutex) { // If it isn't already locked - lock it on this thread. if (!iExclusivelyLocked) { ...
java
public synchronized void unlockExclusive() { if (tc.isEntryEnabled()) SibTr.entry(tc, "unlockExclusive", this); // Synchronize on the locking Mutex. synchronized (iMutex) { // Only release the lock if the holder is the current thread. if (Thread.currentThread() == iExclusiveLockHold...
java
public static void init(ExternalContext context) { WebXmlParser parser = new WebXmlParser(context); WebXml webXml = parser.parse(); context.getApplicationMap().put(WEB_XML_ATTR, webXml); MyfacesConfig mfconfig = MyfacesConfig.getCurrentInstance(context); long configRefreshPer...
java
private static void filterThrowable(Throwable t) { // Now we want to remove the superfluous lines of stack trace from the // exception (those that have been inserted as a result of the way we // created the exception. StackTraceElement[] stackLines = t.getStackTrace(); // If th...
java
public static Throwable getJMS2Exception(JMSException jmse, Class exceptionToBeThrown) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getJMS2Exceptions", new Object[] { jmse, exceptionToBeThrown }); JMSRuntimeException jmsre = nu...
java
private boolean isProductExtensionInstalled(String inputString, String productExtension) { if ((productExtension == null) || (inputString == null)) { return false; } int msgIndex = inputString.indexOf("CWWKF0012I: The server installed the following features:"); if (msgIndex =...
java
public static String encodePartiallyEncoded(String encoded, boolean query) { if (encoded.length() == 0) { return encoded; } Matcher m = ENCODE_PATTERN.matcher(encoded); if (!m.find()) { return query ? HttpUtils.queryEncode(encoded) : HttpUtils.pathEncode(encoded)...
java
@Override public String formatRecord(RepositoryLogRecord record, Locale locale) { if (null == record) { throw new IllegalArgumentException("Record cannot be null"); } return getFormattedRecord(record, locale); }
java
public String getFormattedRecord(RepositoryLogRecord record, Locale locale) { StringBuilder sb = new StringBuilder(300); //create opening tag for the CBE Event createEventOTag(sb, record, locale); //add the CBE elements createExtendedElement(sb, record); createExtendedElement(sb, "CommonBaseEventLogReco...
java
private void createEventOTag(StringBuilder sb, RepositoryLogRecord record, Locale locale){ sb.append("<CommonBaseEvent creationTime=\""); // create the XML dateTime format // TimeZone is UTC, but since we are dealing with Millis we are already in UTC. sb.append(CBE_DATE_FORMAT.format(record.getMillis())); sb....
java
private void createSituationElement(StringBuilder sb){ sb.append(lineSeparator).append(INDENT[0]).append("<situation categoryName=\"ReportSituation\">"); sb.append(lineSeparator).append(INDENT[1]).append( "<situationType xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"ReportSituation\" reasonin...
java
private void createSourceElement(StringBuilder sb, RepositoryLogRecord record){ String hostAddr = headerProps.getProperty(ServerInstanceLogRecordList.HEADER_HOSTADDRESS) == null? "": headerProps.getProperty(ServerInstanceLogRecordList.HEADER_HOSTADDRESS); String hostType = headerProps.getProperty(ServerInstanceLogR...
java
private void createMessageElement(StringBuilder sb, RepositoryLogRecord record){ // 660484 elim string concat sb.append(lineSeparator).append(INDENT[0]).append("<msgDataElement msgLocale=\"").append(record.getMessageLocale()).append("\">"); if (record.getParameters() != null) { // how many params do we have? ...
java
private void createExtendedElement(StringBuilder sb, RepositoryLogRecord record){ sb.append(lineSeparator).append(INDENT[0]).append("<extendedDataElements name=\"CommonBaseEventLogRecord:level\" type=\"noValue\">"); sb.append(lineSeparator).append(INDENT[1]).append("<children name=\"CommonBaseEventLogRecord:name\" ...
java
private void createExtendedElement(StringBuilder sb, RepositoryLogRecord record, String extensionID){ String edeValue = record.getExtension(extensionID); if (edeValue != null && !edeValue.isEmpty()){ createExtendedElement(sb, extensionID, "string", edeValue); } }
java
private void createExtendedElement(StringBuilder sb, String edeName, String edeType, String edeValues) { sb.append(lineSeparator).append(INDENT[0]).append("<extendedDataElements name=\"").append(edeName).append("\" type=\"").append(edeType).append("\">"); sb.append(lineSeparator).append(INDENT[1]).append("<values>"...
java
private static Cookie constructLTPACookieObj(SingleSignonToken ssoToken) { byte[] ssoTokenBytes = ssoToken.getBytes(); String ssoCookieString = Base64Coder.base64EncodeToString(ssoTokenBytes); Cookie cookie = new Cookie(webAppSecConfig.getSSOCookieName(), ssoCookieString); return cookie;...
java
static Cookie getLTPACookie(final Subject subject) throws Exception { Cookie ltpaCookie = null; SingleSignonToken ssoToken = null; Set<SingleSignonToken> ssoTokens = subject.getPrivateCredentials(SingleSignonToken.class); Iterator<SingleSignonToken> ssoTokensIterator = ssoTokens.iterator...
java
public static Cookie getSSOCookieFromSSOToken() throws Exception { Subject subject = null; Cookie ltpaCookie = null; if (webAppSecConfig == null) { // if we don't have the config, we can't construct the cookie return null; } try { subject = WSS...
java
private ReturnCode packageServerDumps(File packageFile, List<String> javaDumps) { DumpProcessor processor = new DumpProcessor(serverName, packageFile, bootProps, javaDumps); return processor.execute(); }
java
void deregister(List<URL> urls) { for (URL url : urls) { _data.remove(url.getFile()); } }
java
void register(URL url, InMemoryMappingFile immf) { _data.put(url.getFile(), immf); }
java
private boolean isMatchingString(String value1, String value2) { boolean valuesMatch = true; if (value1 == null) { if (value2 != null) { valuesMatch = false; } } else { valuesMatch = value1.equals(value2); } ...
java
private List<Class<?>> getListenerInterfaces() { List<Class<?>> listenerInterfaces = new ArrayList<Class<?>>(Arrays.asList(SERVLET30_LISTENER_INTERFACES)); // Condition the HTTP ID Listener on Servlet 3.1 enablement. if (com.ibm.ws.webcontainer.osgi.WebContainer.ge...
java
public void configureWebAppHelperFactory(WebAppConfiguratorHelperFactory webAppConfiguratorHelperFactory, ResourceRefConfigFactory resourceRefConfigFactory) { webAppHelper = webAppConfiguratorHelperFactory.createWebAppConfiguratorHelper(this, resourceRefConfigFactory, getListenerInterfaces()); t...
java
public <T> void validateDuplicateKeyValueConfiguration(String parentElementName, String keyElementName, String keyElementValue, String valueEle...
java
public void validateDuplicateDefaultErrorPageConfiguration(String newLocation, ConfigItem<String> priorLocationItem) { String priorLocation = priorLocationItem.getValue(); if (priorLocation == null) { if (newLocation == null) { return; // Same null Location; ignore ...
java
@SuppressWarnings("unchecked") public <T> Map<String, ConfigItem<T>> getConfigItemMap(String key) { Map<String, ConfigItem<T>> configItemMap = (Map<String, ConfigItem<T>>) attributes.get(key); if (configItemMap == null) { configItemMap = new HashMap<String, ConfigItem<T>>(); ...
java
@SuppressWarnings("unchecked") public <T> Set<T> getContextSet(String key) { Set<T> set = (Set<T>) attributes.get(key); if (set == null) { set = new HashSet<T>(); attributes.put(key, set); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { ...
java
public <T> ConfigItem<T> createConfigItem(T value, MergeComparator<T> comparator) { return new ConfigItemImpl<T>(value, getConfigSource(), getLibraryURI(), comparator); }
java
public boolean isExpired() { if (tc.isEntryEnabled()) Tr.entry(tc, "isExpired"); boolean expired = false; long curTime = System.currentTimeMillis(); //TODO: if (curTime - _leaseTime > _leaseTimeout * 1000) // 30 seconds default for timeout { i...
java
protected void returnToFreePool(MCWrapper mcWrapper) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(this, tc, "returnToFreePool", gConfigProps.cfName); } if (mcWrapper.shouldBeDestroyed() || mcWrapper.hasFatalErrorNotificationOccurred(fatalErrorNotifica...
java
protected void removeMCWrapperFromList( MCWrapper mcWrapper, boolean removeFromFreePool, boolean synchronizationNeeded, boolean skipWaiterNotify, ...
java
protected void removeParkedConnection() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(this, tc, "removeParkedConnection"); } // boolean errorOccured = false; if (pm.parkedMCWrapper != null) { // Only attempt to cleanup and destroy the parked ...
java
protected void removeCleanupAndDestroyAllFreeConnections() { // removed iterator code // This method is called within a synchronize block if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(this, tc, "removeCleanupAndDestroyAllFreeConnections"); } int ...
java
protected void cleanupAndDestroyAllFreeConnections() { // This method is called within a synchronize block if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(this, tc, "cleanupAndDestroyAllFreeConnections"); } int mcWrapperListIndex = mcWrapperList.si...
java
protected void incrementFatalErrorValue(int value1) { /* * value1 and value2 are index values for the free pools. * When value1 and value2 are 0, we are in free pool . */ if (fatalErrorNotificationTime == Integer.MAX_VALUE - 1) { /* * We need to start ...
java
@Trivial public static <K> UserConverter<K> newInstance(Converter<K> converter) { return newInstance(getType(converter), converter); }
java
@Trivial public static <K> UserConverter<K> newInstance(Type type, Converter<K> converter) { return newInstance(type, getPriority(converter), converter); }
java
@Trivial private static Type getType(Converter<?> converter) { Type type = null; Type[] itypes = converter.getClass().getGenericInterfaces(); for (Type itype : itypes) { ParameterizedType ptype = (ParameterizedType) itype; if (ptype.getRawType() == Converter.class) {...
java
@Trivial public static File deleteWithRetry(File file) { String methodName = "deleteWithRetry"; String filePath; if ( tc.isDebugEnabled() ) { filePath = file.getAbsolutePath(); Tr.debug(tc, methodName + ": Recursively delete [ " + filePath + " ]"); } else { ...
java
@Trivial public static File delete(File file) { String methodName = "delete"; String filePath; if ( tc.isDebugEnabled() ) { filePath = file.getAbsolutePath(); } else { filePath = null; } if ( file.isDirectory() ) { if ( filePath !...
java
public static void unzip( File source, File target, boolean isEar, long lastModified) throws IOException { byte[] transferBuffer = new byte[16 * 1024]; unzip(source, target, isEar, lastModified, transferBuffer); }
java
public static ELResolver makeResolverForJSP() { Map<String, ImplicitObject> forJSPList = new HashMap<String, ImplicitObject>(8);//4 ImplicitObject io1 = new FacesContextImplicitObject(); forJSPList.put(io1.getName(), io1); ImplicitObject io2 = new ViewImplicitObject(); forJSP...
java
public static ELResolver makeResolverForFaces() { Map<String, ImplicitObject> forFacesList = new HashMap<String, ImplicitObject>(30);//14 ImplicitObject io1 = new ApplicationImplicitObject(); forFacesList.put(io1.getName(), io1); ImplicitObject io2 = new ApplicationScopeImplicitObjec...
java
public void parse(WsByteBuffer transmissionData) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "parse", transmissionData); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) JFapUtils.debugTraceWsByteBufferInfo(this, tc, transmissionData, "transmis...
java
private void parseSegmentStartHeader(WsByteBuffer contextBuffer) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "parseSegmentStartHeader", contextBuffer); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) JFapUtils.debugTraceWsByteBufferInfo(this, ...
java
private void parsePrimaryOnlyPayload(WsByteBuffer contextBuffer) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "parsePrimaryOnlyPayload", contextBuffer); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) JFapUtils.debugTraceWsByteBufferInfo(this, ...
java
private void parseConversationPayload(WsByteBuffer contextBuffer) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "parseConversationPayload", contextBuffer); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) JFapUtils.debugTraceWsByteBufferInfo(this...
java
private void parseSegmentStartPayload(WsByteBuffer contextBuffer) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "parseSegmentStartPayload", contextBuffer); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) JFapUtils.debugTraceWsByteBufferInfo(this...
java
private void parseSegmentMiddlePayload(WsByteBuffer contextBuffer) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "parseSegmentMiddlePayload", contextBuffer); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) JFapUtils.debugTraceWsByteBufferInfo(th...
java
private boolean dispatchToConnection(WsByteBuffer data) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "dispatchToConnection", data); //@stoptracescan@ if (TraceComponent.isAnyTracingEnabled()) JFapUtils.debugSummaryMessage(tc, connection, null, "received c...
java
private void reset() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "reset"); throwable = null; state = STATE_PARSING_PRIMARY_HEADER; unparsedPrimaryHeader.position(0); unparsedPrimaryHeader.limit(JFapChannelConstants.SIZEOF_PRIMARY_HEADER); ...
java
private WsByteBuffer readData(WsByteBuffer unparsedData, WsByteBuffer scratchArea) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "readData", new Object[] {unparsedData, scratchArea}); int scratchAreaRemaining = scratchArea.remai...
java
@SuppressWarnings("unchecked") private Object createManagedBean(final ManagedBean managedBean, final FacesContext facesContext) throws ELException { final ExternalContext extContext = facesContext.getExternalContext(); final Map<Object, Object> facesContextMap = facesContext.getAttributes(); ...
java
public Object run() { Thread currentThread = Thread.currentThread(); oldClassLoader = threadContextAccessor.getContextClassLoader(currentThread); // 369927 // The following tests are done in a certain order to maximize performance if (newClassLoader == oldClassLoader) { wasC...
java
public static final boolean isPassword(String name) { return PASSWORD_PROPS.contains(name) || name.toLowerCase().contains(DataSourceDef.password.name()); }
java
public static void parseDurationProperties(Map<String, Object> vendorProps, String className, ConnectorService connectorSvc) throws Exception { // type=long, unit=milliseconds for (String propName : PropertyService.DURATION_MS_LONG_PROPS) { Object propValue = vendorProps.remove(propName); ...
java
public static final void parsePasswordProperties(Map<String, Object> vendorProps) { for (String propName : PASSWORD_PROPS) { String propValue = (String) vendorProps.remove(propName); if (propValue != null) vendorProps.put(propName, new SerializableProtectedString(propVal...
java
public QueueElement removeTail() { if (head == null) { return null; } QueueElement result = tail; if (result.previous == null) { head = null; tail = null; } else { tail = result.previous; tail.next = null; } result.previous = null; result.next = null; result.queue = null; numElemen...
java
public RemoteAllResults getLogLists(LogQueryBean logQueryBean, RepositoryPointer after) throws LogRepositoryException { RemoteAllResults result = new RemoteAllResults(logQueryBean); Iterable<ServerInstanceLogRecordList> lists; if (after == null) { lists = logReader.getLogLists(logQueryBean); } else { list...
java
public RemoteInstanceResult getLogListForServerInstance(RemoteInstanceDetails indicator, RepositoryPointer after, int offset, int maxRecords, Locale locale) throws LogRepositoryException { ServerInstanceLogRecordList instance; // Pointer should be used only if start time is null. This way the same query object can ...
java
public void setValidating(boolean isValidating) { if (isValidating) MCWrapper.isValidating.set(true); else MCWrapper.isValidating.remove(); }
java
public synchronized BrowserProxyQueue createBrowserProxyQueue() // F171893 throws SIResourceException, SIIncorrectCallException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createBrowserProxyQueue"); // F171893 checkClosed(); ...
java
public synchronized AsynchConsumerProxyQueue createAsynchConsumerProxyQueue(OrderingContext oc) throws SIResourceException, SIIncorrectCallException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createAsynchConsumerProxyQueue"); short id = nex...
java
public synchronized AsynchConsumerProxyQueue createReadAheadProxyQueue(Reliability unrecoverableReliability) // f187521.2.1 throws SIResourceException, SIIncorrectCallException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createReadAheadProxyQueue"); checkClosed...
java
public synchronized void bury(ProxyQueue queue) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "bury"); // Get the proxy queue id short id = queue.getId(); // Remove it from the table mutableId.setValue(id); idToProxyQueueMap.remov...
java
public synchronized ProxyQueue find(short proxyQueueId) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "find", ""+proxyQueueId); mutableId.setValue(proxyQueueId); ProxyQueue retQueue = idToProxyQueueMap.get(mutableId); if (TraceComponent.isAny...
java
protected void notifyClose(ProxyQueue queue) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "notifyClose", queue); try { final short id = queue.getId(); idAllocator.releaseId(id); //Remove the id from the map synchronized...
java
private short nextId() throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "nextId"); short id; try { id = idAllocator.allocateId(); } catch (IdAllocatorException e) { // No FFDC code needed ...
java
private void checkClosed() throws SIIncorrectCallException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "checkClosed", ""+closed); if (closed) throw new SIIncorrectCallException( TraceNLS.getFormattedMessage(CommsConstants.MSG_BUNDLE, "PROXY_QUE...
java