- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for getLongValue (0.06 seconds)
-
src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java
final long expiredTime = getLongValue(source, "expiredTime"); final String ownerInstanceId = getStringValue(source, "instanceId"); final long now = System.currentTimeMillis(); // Check if expired or owner is no longer active if (expiredTime < now || !isInstanceActive(ownerInstanceId)) { final long seqNo = getLongValue(result, "_seq_no");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 33.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java
final Map<String, Object> map = Map.of("time", 12345); assertEquals(12345L, coordinatorHelper.getLongValue(map, "time")); } @Test public void test_getLongValue_long() { final Map<String, Object> map = Map.of("time", 9876543210L); assertEquals(9876543210L, coordinatorHelper.getLongValue(map, "time")); } @Test public void test_getLongValue_double() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 58.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java
final JsonToken token = jsonParser.getCurrentToken(); return switch (token) { case VALUE_STRING -> jsonParser.getText(); case VALUE_NUMBER_INT -> jsonParser.getLongValue(); case VALUE_NUMBER_FLOAT -> jsonParser.getDoubleValue(); case VALUE_TRUE -> true; case VALUE_FALSE -> false; case VALUE_NULL -> null;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Dec 14 01:18:25 GMT 2025 - 16.5K bytes - Click Count (0)