- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 109 for volatile (0.11 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java
import jakarta.annotation.Resource; /** * @author shinsuke * */ public class DataServiceImpl implements DataService<AccessResultImpl<Long>> { protected static volatile long idCount = 0L; private static Object idCountLock = new Object(); @Resource protected MemoryDataHelper dataHelper; /* * (non-Javadoc) *
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
*/ public class ClosingFutureFinishToValueAndCloserTest extends AbstractClosingFutureTest { private final ExecutorService finishToValueAndCloserExecutor = newSingleThreadExecutor(); private volatile ValueAndCloser<?> valueAndCloser; @Override protected void tearDown() throws Exception { super.tearDown(); assertWithMessage("finishToValueAndCloserExecutor was shut down")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
import java.util.List; import org.codelibs.core.lang.ThreadUtil; import org.codelibs.fess.exception.FessSystemException; import org.codelibs.fess.util.ComponentUtil; public class IntervalControlHelper { protected volatile boolean crawlerRunning = true; protected long crawlerWaitMillis = 10000; protected List<IntervalRule> ruleList = new ArrayList<>(); public void checkCrawlerStatus() { while (!crawlerRunning) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5.8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java
@Override public int hashCode() { return hash; } } static class CachingSupplier<T> implements Supplier<T> { final Supplier<T> supplier; volatile Object value; CachingSupplier(Supplier<T> supplier) { this.supplier = supplier; } @Override @SuppressWarnings({"unchecked", "checkstyle:InnerAssignment"})
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/message/MessageFormatter.java
protected static final int CODE_NUMBER_LENGTH = 4; /** メッセージコードに対応するリソースバンドル名の接尾辞 */ protected static final String MESSAGES = "Messages"; /** 初期化済みを示すフラグ */ protected static volatile boolean initialized; /** * メッセージを返します。 * * @param messageCode * メッセージコード * @param args * 引数 * @return メッセージ */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
protected final CountDownLatch runLatch = new CountDownLatch(1); protected final CountDownLatch taskLatch = new CountDownLatch(1); protected final CountDownLatch listenerLatch = new CountDownLatch(1); protected volatile boolean throwException = false; protected final ListenableFutureTask<Integer> task = ListenableFutureTask.create( new Callable<Integer>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
protected static final String GROOVY_MATCHER = "groovy:"; protected final Map<String, List<PathMapping>> pathMappingMap = new HashMap<>(); protected volatile List<PathMapping> cachedPathMappingList = null; @PostConstruct public void init() { if (logger.isDebugEnabled()) { logger.debug("Initialize {}", this.getClass().getSimpleName()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
new UncaughtExceptionHandler() { @Override public void uncaughtException(Thread t, Throwable e) { // No-op } }; private ThreadFactoryBuilder builder; private volatile boolean completed = false; @Override public void setUp() { builder = new ThreadFactoryBuilder(); } public void testThreadFactoryBuilder_defaults() throws InterruptedException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java
private final DefaultModelBuilder defaultModelBuilder; private final DefaultTransformerContext context; private final Map<String, Set<FileModelSource>> mappedSources = new ConcurrentHashMap<>(64); private volatile boolean fullReactorLoaded; DefaultTransformerContextBuilder(DefaultModelBuilder defaultModelBuilder) { this.defaultModelBuilder = defaultModelBuilder;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
* without it because it is an immutable object in a volatile field. This is desirable so that * methods like {@link #state}, {@link #failureCause} and notably {@link #toString} can be run * without grabbing the lock. * * <p>To update this field correctly the lock must be held to guarantee that the state is * consistent. */ private volatile StateSnapshot snapshot = new StateSnapshot(NEW);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 20.7K bytes - Viewed (0)