[
https://issues.jboss.org/browse/ISPN-2104?page=com.atlassian.jira.plugin....
]
Adrian Nistor commented on ISPN-2104:
-------------------------------------
We have these methods that receive a timeout value in millis in our config builder API. Do
we want to enhance all of them?
I suppose we keep the existing version taking a long value.
org.infinispan.configuration.cache.AsyncConfigurationBuilder.replQueueInterval( )
org.infinispan.configuration.cache.AsyncLoaderConfigurationBuilder.flushLockTimeout( )
org.infinispan.configuration.cache.AsyncLoaderConfigurationBuilder.shutdownTimeout( )
org.infinispan.configuration.cache.DeadlockDetectionConfigurationBuilder.spinDuration( )
org.infinispan.configuration.cache.ExpirationConfigurationBuilder.lifespan( )
org.infinispan.configuration.cache.ExpirationConfigurationBuilder.maxIdle( )
org.infinispan.configuration.cache.ExpirationConfigurationBuilder.wakeUpInterval( )
org.infinispan.configuration.cache.FileCacheStoreConfigurationBuilder.fsyncInterval( )
org.infinispan.configuration.cache.FileCacheStoreConfigurationBuilder.lockAcquistionTimeout(
)
org.infinispan.configuration.cache.HashConfigurationBuilder.rehashRpcTimeout( )
org.infinispan.configuration.cache.HashConfigurationBuilder.rehashWait( )
org.infinispan.configuration.cache.L1ConfigurationBuilder.lifespan( )
org.infinispan.configuration.cache.L1ConfigurationBuilder.cleanupTaskFrequency( )
org.infinispan.configuration.cache.LockingConfigurationBuilder.lockAcquisitionTimeout( )
org.infinispan.configuration.cache.SingletonStoreConfigurationBuilder.pushStateTimeout( )
org.infinispan.configuration.cache.StateTransferConfigurationBuilder.timeout( )
org.infinispan.configuration.cache.SyncConfigurationBuilder.replTimeout( )
org.infinispan.configuration.cache.TransactionConfigurationBuilder.cacheStopTimeout( )
Add methods with java.util.concurrent.TimeUnit for specifying
expiration intervals
----------------------------------------------------------------------------------
Key: ISPN-2104
URL:
https://issues.jboss.org/browse/ISPN-2104
Project: Infinispan
Issue Type: Feature Request
Components: Configuration
Affects Versions: 5.1.5.FINAL
Reporter: Samuli Saarinen
Assignee: Adrian Nistor
Fix For: 5.2.0.ALPHA1, 5.2.0.FINAL
eg.
{code:java}
ConfigurationBuilder().expiration().lifespan(60000L) ->
ConfigurationBuilder().expiration().lifespan(60, SECONDS)
{code}
This would make the interval unit more obvious.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira