Codota Logo
RequestScopedItem
Code IndexAdd Codota to your IDE (free)

How to use
RequestScopedItem
in
org.jboss.weld.contexts.cache

Best Java code snippets using org.jboss.weld.contexts.cache.RequestScopedItem (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: org.jboss.weld.se/weld-se-shaded

/**
 * ends the request and clears the cache. This can be called before the request is over,
 * in which case the cache will be unavailable for the rest of the request.
 */
public static void endRequest() {
  final List<RequestScopedItem> result = CACHE.get();
  if (result != null) {
    CACHE.remove();
    for (final RequestScopedItem item : result) {
      item.invalidate();
    }
  }
}
origin: weld/core

/**
 * ends the request and clears the cache. This can be called before the request is over,
 * in which case the cache will be unavailable for the rest of the request.
 */
public static void endRequest() {
  final List<RequestScopedItem> result = CACHE.get();
  if (result != null) {
    CACHE.remove();
    for (final RequestScopedItem item : result) {
      item.invalidate();
    }
  }
}
origin: weld/core

/**
 * ends the request and clears the cache. This can be called before the request is over,
 * in which case the cache will be unavailable for the rest of the request.
 */
public static void endRequest() {
  final List<RequestScopedItem> result = CACHE.get();
  if (result != null) {
    CACHE.remove();
    for (final RequestScopedItem item : result) {
      item.invalidate();
    }
  }
}
origin: weld/core

/**
 * ends the request and clears the cache. This can be called before the request is over,
 * in which case the cache will be unavailable for the rest of the request.
 */
public static void endRequest() {
  final List<RequestScopedItem> result = CACHE.get();
  if (result != null) {
    CACHE.remove();
    for (final RequestScopedItem item : result) {
      item.invalidate();
    }
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

/**
 * ends the request and clears the cache. This can be called before the request is over,
 * in which case the cache will be unavailable for the rest of the request.
 */
public static void endRequest() {
  final List<RequestScopedItem> result = CACHE.get();
  if (result != null) {
    CACHE.remove();
    for (final RequestScopedItem item : result) {
      item.invalidate();
    }
  }
}
org.jboss.weld.contexts.cacheRequestScopedItem

Javadoc

An item that can be cached for the lifetime of a request.

Most used methods

  • invalidate
    Method that is called when the request ends

Popular in Java

  • Finding current android device location
  • runOnUiThread (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • JFileChooser (javax.swing)
  • JFrame (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now