Toggle navigation
Home
int to java.time.Duration
No. of Instances - 28
No. of Commits - 8
No. of Projects - {'alluxio', 'neo4j', 'wildfly', 'uaa', 'atomix', 'james-project', 'redisson'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Rename Method invocation
setMaxInactiveIntervalInSeconds
to
setMaxInactiveInterval
Add or Remove Method invocation
interval
to
interval.getSeconds()
System
to
Instant.now()
thenReturn
to
thenReturn
statusInterval
to
this.statusInterval.toMillis()
statusInterval
to
this.statusInterval.toMillis()
tryAwait(() -> oldestAcceptableTxId <= transactionIdStore.getLastClosedTransactionId(),timeout,timeoutUnit,POLL_INTERVAL,POLL_UNIT)
to
tryAwait(() -> oldestAcceptableTxId <= transactionIdStore.getLastClosedTransactionId(),timeout.toMillis(),TimeUnit.MILLISECONDS,POLL_INTERVAL,POLL_UNIT)
Rename Variable
getMaxInactiveIntervalInSeconds
to
getMaxInactiveInterval
EXPIRING_TIME_MILLIS
to
CACHE_EXPIRATION
EXPIRING_TIME_MILLIS
to
CACHE_EXPIRATION
Other
System.currentTimeMillis() + EXPIRING_TIME_MILLIS + 10000
to
CACHE_EXPIRATION