Tabnine Logo
Util$CacheValue
Code IndexAdd Tabnine to your IDE (free)

How to use
Util$CacheValue
in
javax.el

Best Java code snippets using javax.el.Util$CacheValue (Showing top 7 results out of 315)

origin: weld/core

  cacheValue = factoryCache.get(key);
  if (cacheValue == null) {
    CacheValue newCacheValue = new CacheValue();
    cacheValue = factoryCache.putIfAbsent(key, newCacheValue);
    if (cacheValue == null) {
final Lock readLock = cacheValue.getLock().readLock();
readLock.lock();
try {
  factory = cacheValue.getExpressionFactory();
} finally {
  readLock.unlock();
  final Lock writeLock = cacheValue.getLock().writeLock();
  writeLock.lock();
  try {
    factory = cacheValue.getExpressionFactory();
    if (factory == null) {
      factory = ExpressionFactory.newInstance();
      cacheValue.setExpressionFactory(factory);
origin: jboss/jboss-javaee-specs

  cacheValue = factoryCache.get(key);
  if (cacheValue == null) {
    CacheValue newCacheValue = new CacheValue();
    cacheValue = factoryCache.putIfAbsent(key, newCacheValue);
    if (cacheValue == null) {
final Lock readLock = cacheValue.getLock().readLock();
readLock.lock();
try {
  factory = cacheValue.getExpressionFactory();
} finally {
  readLock.unlock();
  final Lock writeLock = cacheValue.getLock().writeLock();
  writeLock.lock();
  try {
    factory = cacheValue.getExpressionFactory();
    if (factory == null) {
      factory = ELUtil.getExpressionFactory();
      cacheValue.setExpressionFactory(factory);
origin: org.apache.tomcat.embed/tomcat-embed-el

  cacheValue = factoryCache.get(key);
  if (cacheValue == null) {
    CacheValue newCacheValue = new CacheValue();
    cacheValue = factoryCache.putIfAbsent(key, newCacheValue);
    if (cacheValue == null) {
final Lock readLock = cacheValue.getLock().readLock();
readLock.lock();
try {
  factory = cacheValue.getExpressionFactory();
} finally {
  readLock.unlock();
  final Lock writeLock = cacheValue.getLock().writeLock();
  writeLock.lock();
  try {
    factory = cacheValue.getExpressionFactory();
    if (factory == null) {
      factory = ExpressionFactory.newInstance();
      cacheValue.setExpressionFactory(factory);
origin: org.jboss.spec.javax.el/jboss-el-api_3.0_spec

  cacheValue = factoryCache.get(key);
  if (cacheValue == null) {
    CacheValue newCacheValue = new CacheValue();
    cacheValue = factoryCache.putIfAbsent(key, newCacheValue);
    if (cacheValue == null) {
final Lock readLock = cacheValue.getLock().readLock();
readLock.lock();
try {
  factory = cacheValue.getExpressionFactory();
} finally {
  readLock.unlock();
  final Lock writeLock = cacheValue.getLock().writeLock();
  writeLock.lock();
  try {
    factory = cacheValue.getExpressionFactory();
    if (factory == null) {
      factory = ELUtil.getExpressionFactory();
      cacheValue.setExpressionFactory(factory);
origin: org.apache.tomcat/tomcat-el-api

  cacheValue = factoryCache.get(key);
  if (cacheValue == null) {
    CacheValue newCacheValue = new CacheValue();
    cacheValue = factoryCache.putIfAbsent(key, newCacheValue);
    if (cacheValue == null) {
final Lock readLock = cacheValue.getLock().readLock();
readLock.lock();
try {
  factory = cacheValue.getExpressionFactory();
} finally {
  readLock.unlock();
  final Lock writeLock = cacheValue.getLock().writeLock();
  writeLock.lock();
  try {
    factory = cacheValue.getExpressionFactory();
    if (factory == null) {
      factory = ExpressionFactory.newInstance();
      cacheValue.setExpressionFactory(factory);
origin: org.jboss.weld.se/weld-se-shaded

  cacheValue = factoryCache.get(key);
  if (cacheValue == null) {
    CacheValue newCacheValue = new CacheValue();
    cacheValue = factoryCache.putIfAbsent(key, newCacheValue);
    if (cacheValue == null) {
final Lock readLock = cacheValue.getLock().readLock();
readLock.lock();
try {
  factory = cacheValue.getExpressionFactory();
} finally {
  readLock.unlock();
  final Lock writeLock = cacheValue.getLock().writeLock();
  writeLock.lock();
  try {
    factory = cacheValue.getExpressionFactory();
    if (factory == null) {
      factory = ELUtil.getExpressionFactory();
      cacheValue.setExpressionFactory(factory);
origin: codefollower/Tomcat-Research

  cacheValue = factoryCache.get(key);
  if (cacheValue == null) {
    CacheValue newCacheValue = new CacheValue();
    cacheValue = factoryCache.putIfAbsent(key, newCacheValue);
    if (cacheValue == null) {
final Lock readLock = cacheValue.getLock().readLock();
readLock.lock();
try {
  factory = cacheValue.getExpressionFactory();
} finally {
  readLock.unlock();
  final Lock writeLock = cacheValue.getLock().writeLock();
  try {
    writeLock.lock();
    factory = cacheValue.getExpressionFactory();
    if (factory == null) {
      factory = ExpressionFactory.newInstance();
      cacheValue.setExpressionFactory(factory);
javax.elUtil$CacheValue

Most used methods

  • <init>
  • getExpressionFactory
  • getLock
  • setExpressionFactory

Popular in Java

  • Reading from database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Reference (javax.naming)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • 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