code stringlengths 73 34.1k | label stringclasses 1
value |
|---|---|
public boolean containsValue(Object value) throws ObjectManagerException {
if (getRoot() != null)
return containsValue(getRoot(), value);
return false;
} | java |
public Set entrySet() throws ObjectManagerException {
return new AbstractSetView() {
public long size() {
return size;
}
public boolean contains(Object object) throws ObjectManagerException {
if (object instanceof Map.Entry) {
... | java |
public Object get(Object key) throws ObjectManagerException {
Entry node = find(key);
if (node != null)
return node.value;
return null;
} | java |
public SortedMap headMap(Object endKey) {
// Check for errors
if (comparator == null)
((Comparable) endKey).compareTo(endKey);
else
comparator.compare(endKey, endKey);
return makeSubMap(null, endKey);
} | java |
public Collection keyCollection() {
if (keyCollection == null) {
keyCollection = new AbstractCollectionView() {
public long size() throws ObjectManagerException {
return AbstractTreeMap.this.size();
}
public Iterator iterator() thr... | java |
public Object remove(Object key) throws ObjectManagerException {
Entry node = find(key);
if (node == null)
return null;
Object result = node.value;
rbDelete(node);
return result;
} | java |
public SortedMap subMap(Object startKey, Object endKey) {
if (comparator == null) {
if (((Comparable) startKey).compareTo(endKey) <= 0)
return makeSubMap(startKey, endKey);
} else {
if (comparator.compare(startKey, endKey) <= 0)
return makeSubMap(s... | java |
public SortedMap tailMap(Object startKey) {
// Check for errors
if (comparator == null)
((Comparable) startKey).compareTo(startKey);
else
comparator.compare(startKey, startKey);
return makeSubMap(startKey, null);
} | java |
public Collection values() {
if (values == null) {
values = new AbstractCollectionView() {
public long size() throws ObjectManagerException {
return AbstractTreeMap.this.size();
}
public Iterator iterator() throws ObjectManagerExce... | java |
public static void assignMongoServers(LibertyServer libertyServer) throws Exception {
MongoServerSelector mongoServerSelector = new MongoServerSelector(libertyServer);
mongoServerSelector.updateLibertyServerMongos();
} | java |
private Map<String, List<MongoElement>> getMongoElements() throws Exception {
for (MongoElement mongo : serverConfig.getMongos()) {
addMongoElementToMap(mongo);
}
for (MongoDBElement mongoDB : serverConfig.getMongoDBs()) {
if (mongoDB.getMongo() != null) {
... | java |
private void updateMongoElements(String serverPlaceholder, ExternalTestService mongoService) {
Integer[] port = { Integer.valueOf(mongoService.getPort()) };
for (MongoElement mongo : mongoElements.get(serverPlaceholder)) {
mongo.setHostNames(mongoService.getAddress());
mongo.setP... | java |
private static boolean validateMongoConnection(ExternalTestService mongoService) {
String method = "validateMongoConnection";
MongoClient mongoClient = null;
String host = mongoService.getAddress();
int port = mongoService.getPort();
File trustStore = null;
MongoClient... | java |
private static SSLSocketFactory getSocketFactory(File trustStore) throws KeyStoreException, FileNotFoundException, IOException, NoSuchAlgorithmException, CertificateException, KeyManagementException {
KeyStore keystore = KeyStore.getInstance("JKS");
InputStream truststoreInputStream = null;
try... | java |
public static Locale converterTagLocaleFromString(String name)
{
try
{
Locale locale;
StringTokenizer st = new StringTokenizer(name, "_");
String language = st.nextToken();
if(st.hasMoreTokens())
{
String country = st.nextT... | java |
public void incrementHeadSequenceNumber(ConcurrentSubList.Link link)
throws ObjectManagerException
{
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this,
cclass,
"incrementheadSequenceNumber",
... | java |
private void resetTailSequenceNumber()
throws ObjectManagerException
{
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this, cclass
, "resetTailSequenceNumber"
);
for (int i = 0; i < subList... | java |
protected ConcurrentSubList.Link insert(Token token,
ConcurrentSubList.Link insertPoint,
Transaction transaction)
throws ObjectManagerException
{
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnab... | java |
public void activate(ComponentContext compcontext, Map<String, Object> properties) {
String methodName = "activate";
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
Tr.event(tc, "Activating the WebContainer bundle");
}
WebContainer.instanc... | java |
@FFDCIgnore(Exception.class)
public void deactivate(ComponentContext componentContext) {
String methodName = "deactivate";
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
Tr.event(tc, "Deactivating the WebContainer bundle");
}
if (TraceCompone... | java |
@Reference(service=ClassLoadingService.class, name="classLoadingService")
protected void setClassLoadingService(ServiceReference<ClassLoadingService> ref) {
classLoadingSRRef.setReference(ref);
} | java |
@Reference(policy=ReferencePolicy.DYNAMIC)
protected void setEncodingService(EncodingUtils encUtils) {
encodingServiceRef.set(encUtils);
} | java |
@Reference(service=SessionHelper.class, name="sessionHelper")
protected void setSessionHelper(ServiceReference<SessionHelper> ref) {
sessionHelperSRRef.setReference(ref);
} | java |
@Override
public ModuleMetaData createModuleMetaData(ExtendedModuleInfo moduleInfo) throws MetaDataException {
WebModuleInfo webModule = (WebModuleInfo) moduleInfo;
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "createModuleMetaData: " + webModule.getNam... | java |
protected void registerMBeans(WebModuleMetaDataImpl webModule, com.ibm.wsspi.adaptable.module.Container container) {
String methodName = "registerMBeans";
String appName = webModule.getApplicationMetaData().getName();
String webAppName = webModule.getName();
String debugName;
i... | java |
public void stopModule(ExtendedModuleInfo moduleInfo) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
Tr.entry(tc, "stopModule()",((WebModuleInfo)moduleInfo).getName());
}
WebModuleInfo webModule = (WebModuleInfo) moduleInfo;
try {
... | java |
@Reference(cardinality=ReferenceCardinality.MANDATORY, policy=ReferencePolicy.DYNAMIC, policyOption=ReferencePolicyOption.GREEDY)
protected void setConnContextPool(SRTConnectionContextPool pool) {
this.connContextPool = pool;
} | java |
public void refreshEntry(com.ibm.wsspi.cache.CacheEntry ce){
cacheInstance.refreshEntry(ce.cacheEntry);
} | java |
public CacheEntry getEntryDisk(Object cacheId) {
CacheEntry cacheEntry = new CacheEntry(cacheInstance.getEntryDisk(cacheId));
return cacheEntry;
} | java |
public com.ibm.wsspi.cache.CacheEntry getEntry(Object cacheId){
CacheEntry cacheEntry = new CacheEntry(cacheInstance.getEntry(cacheId));
return cacheEntry;
} | java |
public static Object[] getEncoding(JspInputSource inputSource)
throws IOException, JspCoreException
{
InputStream inStream = XMLEncodingDetector.getInputStream(inputSource);
//InputStream inStream = JspUtil.getInputStream(fname, jarFile, ctxt,
// ... | java |
private Reader createReader(InputStream inputStream, String encoding,
Boolean isBigEndian)
throws IOException, JspCoreException {
// normalize encoding name
if (encoding == null) {
encoding = "UTF-8";
}
// try to use an optimized reader
String EN... | java |
private Object[] getEncodingName(byte[] b4, int count) {
if (count < 2) {
return new Object[]{"UTF-8", null, Boolean.FALSE};
}
// UTF-16, with BOM
int b0 = b4[0] & 0xFF;
int b1 = b4[1] & 0xFF;
if (b0 == 0xFE && b1 == 0xFF) {
// UTF-16, big-endian... | java |
final boolean load(int offset, boolean changeEntity)
throws IOException {
// read characters
int length = fCurrentEntity.mayReadChunks?
(fCurrentEntity.ch.length - offset):
(DEFAULT_XMLDECL_BUFFER_SIZE);
int count = fCurrentEntity.reader.read(fCurrentEntity.ch, offset,
length);
// reset cou... | java |
public String scanPseudoAttribute(boolean scanningTextDecl,
XMLString value)
throws IOException, JspCoreException {
String name = scanName();
if (name == null) {
throw new JspCoreException("jsp.error.xml.pseudoAttrNameExpected");
... | java |
private void reportFatalError(String msgId, String arg)
throws JspCoreException {
throw new JspCoreException(msgId, new Object[] { arg });
//err.jspError(msgId, arg);
} | java |
@SuppressWarnings("unchecked")
public static <T> T coerceToType(FacesContext facesContext, Object value, Class<? extends T> desiredClass)
{
if (value == null)
{
return null;
}
try
{
ExpressionFactory expFactory = facesContext.getApplication().getE... | java |
private String getNarrowestScope(FacesContext facesContext, String valueExpression)
{
List<String> expressions = extractExpressions(valueExpression);
// exclude NONE scope, if there are more than one ValueExpressions (see Spec for details)
String narrowestScope = expressions.size() == 1 ? NO... | java |
private String getFirstSegment(String expression)
{
int indexDot = expression.indexOf('.');
int indexBracket = expression.indexOf('[');
if (indexBracket < 0)
{
return indexDot < 0 ? expression : expression.substring(0, indexDot);
}
if (indexDot < 0)
... | java |
@SuppressWarnings("unchecked")
public <T> T get(EventLocal<T> key) {
EventLocalMap<EventLocal<?>, Object> map = getMap(key);
if (null == map) {
return key.initialValue();
}
return (T) map.get(key);
} | java |
public <T> void set(EventLocal<T> key, Object value) {
EventLocalMap<EventLocal<?>, Object> map = getMap(key);
if (null == map) {
// the call to getMap would have created the inheritable map
// if appropriate, thus always create a disconnected map here
map = new Event... | java |
@SuppressWarnings("unchecked")
public <T> T remove(EventLocal<T> key) {
EventLocalMap<EventLocal<?>, Object> map = getMap(key);
if (null != map) {
return (T) map.remove(key);
}
return null;
} | java |
@SuppressWarnings("unchecked")
public <T> T getContextData(String name) {
T rc = null;
if (null != this.inheritableLocals) {
rc = (T) this.inheritableLocals.get(name);
}
if (null == rc && null != this.locals) {
rc = (T) this.locals.get(name);
}
... | java |
private static void setSystemProperties() {
// KernelBootstrap also sets these properties in case the bootstrap
// agent wasn't used for some reason.
String loggingManager = System.getProperty("java.util.logging.manager");
//if (loggingManager == null)
// System.setProperty("... | java |
final void setBodyType(JmsBodyType value) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "setBodyType", value);
setSubtype(value.toByte());
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.exit(this, tc, "set... | java |
private final Set<String> getNonSmokeAndMirrorsPropertyNameSet() {
/* Get the names of all the properties in the JMS Property Maps */
/* We need a copy so that we can add extra items, and so can the caller */
Set<String> names = new HashSet<String>();
// Add the names for the two flavo... | java |
@Override
public Object getJMSXGroupSeq() {
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(this, tc, "getJMSXGroupSeq");
Object result = null;
if (mayHaveMappedJmsSystemProperties()) {
result = getObjectProperty(SIProperties.JMSXGroupSeq... | java |
private void processSpecialSubjects(ConfigurationAdmin configAdmin,
String roleName,
Dictionary<String, Object> roleProps, Set<String> pids) {
String[] specialSubjectPids = (String[]) roleProps.get(CFG_KEY_SPECIAL_SUBJECT);
... | java |
@Override
public TxCollaboratorConfig preInvoke(final HttpServletRequest request, final boolean isServlet23)
throws ServletException {
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
Tr.debug(tc, "Calling preInvoke. Request=" + request + " | isServlet23=" +... | java |
private void resumeSuspendedLTC(LocalTransactionCurrent ltCurrent, Object txConfig) throws ServletException {
//Check for any suspended LTC that needs to be resumed
if (txConfig instanceof TxCollaboratorConfig) {
Object suspended = ((TxCollaboratorConfig) txConfig).getSuspendTx();
... | java |
public SerializationObject getSerializationObject() {
SerializationObject object;
synchronized (ivListOfObjects) {
if (ivListOfObjects.isEmpty()) {
object = createNewObject();
} else {
object = ivListOfObjects.remove(ivListOfObjects.size() - 1);
}
}
return object;
} | java |
public void returnSerializationObject(SerializationObject object) {
synchronized (ivListOfObjects) {
if (ivListOfObjects.size() < MAXIMUM_NUM_OF_OBJECTS) {
ivListOfObjects.add(object);
}
}
} | java |
public void add(Object dependency, ValueSet valueSet) {
if (dependency == null) {
throw new IllegalArgumentException("dependency cannot be null");
}
if (valueSet != null) {
dependencyToEntryTable.put(dependency, valueSet);
}
} | java |
public boolean removeEntry(Object dependency, Object entry) { //SKS-O
boolean found = false;
ValueSet valueSet = (ValueSet) dependencyToEntryTable.get(dependency);
if (valueSet == null) {
return found;
}
found = valueSet.remove(entry);
if (valueSet.size()==0)
re... | java |
protected void modified(String id, Map<String, Object> properties) {
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
Tr.event(this, tc, "modified " + id, properties);
}
config = properties;
myProps = null;
} | java |
protected ReadableLogRecord getReadableLogRecord(long expectedSequenceNumber)
{
if (tc.isEntryEnabled())
Tr.entry(tc, "getReadableLogRecord", new java.lang.Object[] { this, new Long(expectedSequenceNumber) });
if (tc.isDebugEnabled())
Tr.debug(tc, "Creating readable log reco... | java |
void fileClose() throws InternalLogException
{
if (tc.isEntryEnabled())
Tr.entry(tc, "fileClose", this);
if (_fileChannel != null)
{
try
{
// Don't close channel as it will free a lock - wait until file close
if (_outstand... | java |
public WriteableLogRecord getWriteableLogRecord(int recordLength, long sequenceNumber) throws InternalLogException
{
if (!_headerFlushedFollowingRestart)
{
// ensure header is updated now we start to write records for the first time
// synchronization is assured through lock... | java |
private void writeFileHeader(boolean maintainPosition) throws InternalLogException
{
if (tc.isEntryEnabled())
Tr.entry(tc, "writeFileHeader", new java.lang.Object[] { this, new Boolean(maintainPosition) });
// Build the buffer that forms the major part of the file header and
// ... | java |
private void writeFileStatus(boolean maintainPosition) throws InternalLogException
{
if (tc.isEntryEnabled())
Tr.entry(tc, "writeFileStatus", new java.lang.Object[] { this, new Boolean(maintainPosition) });
if (_logFileHeader.status() == LogFileHeader.STATUS_INVALID)
{
... | java |
protected LogFileHeader logFileHeader()
{
if (tc.isEntryEnabled())
Tr.entry(tc, "logFileHeader", this);
if (tc.isEntryEnabled())
Tr.exit(tc, "logFileHeader", _logFileHeader);
return _logFileHeader;
} | java |
public byte[] getServiceData()
{
if (tc.isEntryEnabled())
Tr.entry(tc, "getServiceData", this);
byte[] serviceData = null;
if (_logFileHeader != null)
{
serviceData = _logFileHeader.getServiceData();
}
if (tc.isEntryEnabled())
Tr... | java |
public int freeBytes()
{
if (tc.isEntryEnabled())
Tr.entry(tc, "freeBytes", this);
int freeBytes = 0;
try
{
int currentCursorPosition = _fileBuffer.position();
int fileLength = _fileBuffer.capacity();
freeBytes = fileLength - current... | java |
public String fileName()
{
if (tc.isEntryEnabled())
Tr.entry(tc, "fileName", this);
if (tc.isEntryEnabled())
Tr.exit(tc, "fileName", _fileName);
return _fileName;
} | java |
void keypointStarting(long nextRecordSequenceNumber) throws InternalLogException
{
if (tc.isEntryEnabled())
Tr.entry(tc, "keypointStarting", new Object[] { new Long(nextRecordSequenceNumber), this });
// Set the header to indicate a keypoint operation. This also marks the header
... | java |
void keypointComplete() throws InternalLogException
{
if (tc.isEntryEnabled())
Tr.entry(tc, "keypointComplete", this);
_logFileHeader.keypointComplete();
try
{
writeFileStatus(true);
} catch (InternalLogException exc)
{
FFDCFilter.... | java |
void becomeInactive() throws InternalLogException
{
if (tc.isEntryEnabled())
Tr.entry(tc, "becomeInactive", this);
_logFileHeader.changeStatus(LogFileHeader.STATUS_INACTIVE);
try
{
writeFileStatus(false);
} catch (InternalLogException exc)
{
... | java |
public void fileExtend(int newFileSize) throws LogAllocationException
{
if (tc.isEntryEnabled())
Tr.entry(tc, "fileExtend", new Object[] { new Integer(newFileSize), this });
final int fileLength = _fileBuffer.capacity();
if (fileLength < newFileSize)
{
try
... | java |
protected void force() throws InternalLogException
{
if (tc.isEntryEnabled())
Tr.entry(tc, "force", this);
try
{
if (_isMapped)
{
// Note: on Win2K we can get an IOException from this even though it is not declared
((Mapped... | java |
private String normalize(String alias) {
// replace all the '.'s to '\.'s
String regExp = alias.replaceAll("[\\.]", "\\\\\\.");
// replace all the '*'s to '.*'s
regExp = regExp.replaceAll("[*]", "\\.\\*");
// System.out.println("Normalized "+alias+" to "+regExp);
retur... | java |
public Iterator targetMappings() {
// System.out.println("TargetMappings called");
// return vHostTable.values().iterator(); 316624
Collection vHosts = vHostTable.values(); // 316624
List l = new ArrayList(); // 316624
l.addAll(vHosts); // 316624
return l.listIterator(); ... | java |
public final BehindRef insert(final AbstractItemLink insertAil)
{
final long insertPosition = insertAil.getPosition();
boolean inserted = false;
BehindRef addref = null;
// Loop backwards through the list in order of decreasing sequence number
// (addition usually near the e... | java |
private final void _remove(final BehindRef removeref)
{
if (_firstLinkBehind != null)
{
if (removeref == _firstLinkBehind)
{
// It's the first in the list ...
if (removeref == _lastLinkBehind)
{
// ... and th... | java |
protected boolean invokeTraceRouters(RoutedMessage routedTrace) {
boolean retMe = true;
LogRecord logRecord = routedTrace.getLogRecord();
/*
* Avoid any feedback traces that are emitted after this point.
* The first time the counter increments is the first pass-through.
... | java |
protected void publishTraceLogRecord(TraceWriter detailLog, LogRecord logRecord, Object id, String formattedMsg, String formattedVerboseMsg) {
//check if tracefilename is stdout
if (formattedVerboseMsg == null) {
formattedVerboseMsg = formatter.formatVerboseMessage(logRecord, formattedMsg, f... | java |
@Override
public void setMessageRouter(MessageRouter msgRouter) {
externalMessageRouter.set(msgRouter);
if (msgRouter instanceof WsMessageRouter) {
setWsMessageRouter((WsMessageRouter) msgRouter);
}
} | java |
@Override
public void unsetMessageRouter(MessageRouter msgRouter) {
externalMessageRouter.compareAndSet(msgRouter, null);
if (msgRouter instanceof WsMessageRouter) {
unsetWsMessageRouter((WsMessageRouter) msgRouter);
}
} | java |
protected void initializeWriters(LogProviderConfigImpl config) {
// createFileLog may or may not return the original log holder..
messagesLog = FileLogHolder.createFileLogHolder(messagesLog,
newFileLogHeader(false, config),
... | java |
@Override
public Object load(String batchId) {
Object loadedArtifact;
loadedArtifact = getArtifactById(batchId);
if (loadedArtifact != null) {
if (logger.isLoggable(Level.FINEST)) {
logger.finest("load: batchId: " + batchId
+ ", ar... | java |
protected Bean<?> getUniqueBeanByBeanName(BeanManager bm, String batchId) {
Bean<?> match = null;
// Get all beans with the given EL name (id). EL names are applied via @Named.
// If the bean is not annotated with @Named, then it does not have an EL name
// and therefore can't be looke... | java |
@FFDCIgnore(BatchCDIAmbiguousResolutionCheckedException.class)
protected Bean<?> getUniqueBeanForBatchXMLEntry(BeanManager bm, String batchId) {
ClassLoader loader = getContextClassLoader();
BatchXMLMapper batchXMLMapper = new BatchXMLMapper(loader);
Class<?> clazz = batchXMLMapper.getArtifa... | java |
@FFDCIgnore({ ClassNotFoundException.class, BatchCDIAmbiguousResolutionCheckedException.class })
protected Bean<?> getUniqueBeanForClassName(BeanManager bm, String className) {
// Ignore exceptions since will just failover to another loading mechanism
try {
Class<?> clazz = getContextCla... | java |
private synchronized void createExecutor() {
if (componentConfig == null) {
// this is a completely normal occurrence and can happen if a ThreadFactory is bound prior to
// component activation... the proper thing to do is to do nothing and wait for activation
return;
... | java |
private <T> Collection<? extends Callable<T>> wrap(Collection<? extends Callable<T>> tasks) {
List<Callable<T>> wrappedTasks = new ArrayList<Callable<T>>();
Iterator<? extends Callable<T>> i = tasks.iterator();
while (i.hasNext()) {
Callable<T> c = wrap(i.next());
if (ser... | java |
public JsMessage next()
throws MessageDecodeFailedException,
SISessionUnavailableException, SISessionDroppedException,
SIConnectionUnavailableException, SIConnectionDroppedException,
SIResourceException, SIConnectionLostException,
SIErrorException,
... | java |
public void close()
throws SIResourceException, SIConnectionLostException,
SIErrorException, SIConnectionDroppedException
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "close");
if (!closed)
{
// begin D249096
convHelper.clo... | java |
public void put(CommsByteBuffer msgBuffer, short msgBatch, boolean lastInBatch, boolean chunk)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "put", new Object[]{msgBuffer, msgBatch, lastInBatch, chunk});
QueueData queueData = null;
// If this data r... | java |
public void setBrowserSession(BrowserSessionProxy browserSession)
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "setBrowserSession", browserSession);
if (this.browserSession != null)
{
// We are flagging this here as we should never call setBrows... | java |
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
GetField fields = in.readFields();
principal = (String) fields.get(PRINCIPAL, null);
jwt = (String) fields.get(JWT, null);
type = (String) fields.get(TYPE, null);
handleClaims(jwt);
} | java |
private void writeObject(ObjectOutputStream out) throws IOException {
PutField fields = out.putFields();
fields.put(PRINCIPAL, principal);
fields.put(JWT, jwt);
fields.put(TYPE, type);
out.writeFields();
} | java |
private static JarFile _getAlternativeJarFile(URL url) throws IOException
{
String urlFile = url.getFile();
// Trim off any suffix - which is prefixed by "!/" on Weblogic
int separatorIndex = urlFile.indexOf("!/");
// OK, didn't find that. Try the less safe "!", used on OC4J
... | java |
private void requestProcessed(FacesContext facesContext)
{
if(!_firstRequestProcessed)
{
// The order here is important. First it is necessary to put
// the value on application map before change the value here.
// If multiple threads reach this point concurrently... | java |
@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<Property> getPropertyList() {
if (propertyList == null) {
propertyList = new ArrayList<Property>();
}
return this.prop... | java |
protected Token current()
{
final String methodName = "current";
Token currentToken;
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this, cclass
, methodName
+ toString()
);
... | java |
public final ManagedObject getManagedObject()
throws ObjectManagerException {
// final String methodName = "getManagedObject";
// if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
// trace.entry(this,
// cclass,
// methodName);
// Get ... | java |
protected synchronized ManagedObject setManagedObject(ManagedObject managedObject)
throws ObjectManagerException
{
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this, cclass
, "setManagedObject"
+ "m... | java |
void invalidate()
{
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(this, cclass
, "invalidate"
);
// Prevent any attempt to load the object.
objectStore = null;
// If the ManagedObject is alre... | java |
public static final Token restore(java.io.DataInputStream dataInputStream,
ObjectManagerState objectManagerState)
throws ObjectManagerException
{
if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
trace.entry(cclass
... | java |
public static HttpEndpointImpl findEndpoint(String endpointId) {
for (HttpEndpointImpl i : instance.get()) {
if (i.getName().equals(endpointId))
return i;
}
return null;
} | java |
public synchronized List<Long> getTicksOnStream()
{
if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
SibTr.entry(tc, "getTicksOnStream");
List<Long> msgs = new ArrayList<Long>();
StateStream stateStream = getStateStream();
// Initial range in stream is always comp... | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.