congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
CompositeAttributeMap
Code IndexAdd Tabnine to your IDE (free)

How to use
CompositeAttributeMap
in
com.orbitz.monitoring.api.monitor

Best Java code snippets using com.orbitz.monitoring.api.monitor.CompositeAttributeMap (Showing top 8 results out of 315)

origin: com.orbitz.erma/erma-lib

@Override
public Map<String, Object> getInheritableAttributes() {
  final CompositeAttributeMap compositeMap = (CompositeAttributeMap)attributes;
  return compositeMap.getAllInheritable();
}
origin: com.orbitz.erma/erma-api

public Map<String, CompositeAttributeHolder> getInheritableAttributeHolders() {
 final CompositeAttributeMap compositeMap = (CompositeAttributeMap)attributes;
 return compositeMap.getAllInheritableAttributeHolders();
}

origin: com.orbitz.erma/erma-api

 @Override
 protected AttributeMap createAttributeMap() {
  return new CompositeAttributeMap();
 }
}
origin: com.orbitz.erma/erma-api

final CompositeAttributeHolder original = (CompositeAttributeHolder)value;
final CompositeAttributeHolder copy = (CompositeAttributeHolder)original.clone();
getAttributes().put(key, copy);
 copy.lock();
getAttributes().put(key, copy);
set(key, value);
origin: com.orbitz.erma/erma-api

/**
 * Gets an immutable view of the attribute map with the inheritable attribute holders
 * @return map of inheritable attributes
 */
public Map<String, CompositeAttributeHolder> getAllInheritableAttributeHolders() {
 return Maps.filterValues(findCompositeAttributes(), new Predicate<CompositeAttributeHolder>() {
  public boolean apply(final CompositeAttributeHolder holder) {
   return holder.isInheritable();
  }
 });
}

origin: com.orbitz.erma/erma-api

/**
 * Generate a new map of key -> value containing all inheritable attributes
 * @return map of inheritable attributes
 */
public Map<String, Object> getAllInheritable() {
 final Map<String, Object> allInheritable = new HashMap<String, Object>();
 for (final Entry<String, CompositeAttributeHolder> entry : findCompositeAttributes().entrySet()) {
  final CompositeAttributeHolder attribute = entry.getValue();
  if (attribute.isInheritable()) {
   allInheritable.put(entry.getKey(), attribute.getValue());
  }
 }
 return allInheritable;
}

origin: com.orbitz.erma/erma-api

public Map<String, Object> getInheritableAttributes() {
 final CompositeAttributeMap compositeMap = (CompositeAttributeMap)attributes;
 return compositeMap.getAllInheritable();
}

origin: com.orbitz.erma/erma-lib

  @Override
  public Map<String, CompositeAttributeHolder> getInheritableAttributeHolders() {
    final CompositeAttributeMap compositeMap = (CompositeAttributeMap)attributes;
    return compositeMap.getAllInheritableAttributeHolders();
  }
}
com.orbitz.monitoring.api.monitorCompositeAttributeMap

Javadoc

CompositeAttributeMap provides the additional functionality to have inheritable attributes

Most used methods

  • getAllInheritable
    Generate a new map of key -> value containing all inheritable attributes
  • getAllInheritableAttributeHolders
    Gets an immutable view of the attribute map with the inheritable attribute holders
  • <init>
    Constructor.
  • findCompositeAttributes
  • getAttributes
  • set

Popular in Java

  • Reactive rest calls using spring rest template
  • getSharedPreferences (Context)
  • runOnUiThread (Activity)
  • getSystemService (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now