mirror of https://github.com/apache/nifi.git
NIFI-12901 Removed time units in description of time period properties
This closes #8504 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
8c264d22f8
commit
27fa595b25
|
@ -136,7 +136,7 @@ public final class DBCPProperties {
|
|||
public static final PropertyDescriptor MAX_CONN_LIFETIME = new PropertyDescriptor.Builder()
|
||||
.displayName("Max Connection Lifetime")
|
||||
.name("dbcp-max-conn-lifetime")
|
||||
.description("The maximum lifetime in milliseconds of a connection. After this time is exceeded the " +
|
||||
.description("The maximum lifetime of a connection. After this time is exceeded the " +
|
||||
"connection will fail the next activation, passivation or validation test. A value of zero or less " +
|
||||
"means the connection has an infinite lifetime.")
|
||||
.defaultValue(DefaultDataSourceValues.MAX_CONN_LIFETIME.getValue())
|
||||
|
@ -148,7 +148,7 @@ public final class DBCPProperties {
|
|||
public static final PropertyDescriptor EVICTION_RUN_PERIOD = new PropertyDescriptor.Builder()
|
||||
.displayName("Time Between Eviction Runs")
|
||||
.name("dbcp-time-between-eviction-runs")
|
||||
.description("The number of milliseconds to sleep between runs of the idle connection evictor thread. When " +
|
||||
.description("The time period to sleep between runs of the idle connection evictor thread. When " +
|
||||
"non-positive, no idle connection evictor thread will be run.")
|
||||
.defaultValue(DefaultDataSourceValues.EVICTION_RUN_PERIOD.getValue())
|
||||
.required(false)
|
||||
|
|
|
@ -198,7 +198,7 @@ public class Hive3ConnectionPool extends AbstractControllerService implements Hi
|
|||
public static final PropertyDescriptor MAX_CONN_LIFETIME = new PropertyDescriptor.Builder()
|
||||
.displayName("Max Connection Lifetime")
|
||||
.name("dbcp-max-conn-lifetime")
|
||||
.description("The maximum lifetime in milliseconds of a connection. After this time is exceeded the " +
|
||||
.description("The maximum lifetime of a connection. After this time is exceeded the " +
|
||||
"connection will fail the next activation, passivation or validation test. A value of zero or less " +
|
||||
"means the connection has an infinite lifetime.")
|
||||
.defaultValue(DEFAULT_MAX_CONN_LIFETIME)
|
||||
|
@ -210,7 +210,7 @@ public class Hive3ConnectionPool extends AbstractControllerService implements Hi
|
|||
public static final PropertyDescriptor EVICTION_RUN_PERIOD = new PropertyDescriptor.Builder()
|
||||
.displayName("Time Between Eviction Runs")
|
||||
.name("dbcp-time-between-eviction-runs")
|
||||
.description("The number of milliseconds to sleep between runs of the idle connection evictor thread. When " +
|
||||
.description("The time period to sleep between runs of the idle connection evictor thread. When " +
|
||||
"non-positive, no idle connection evictor thread will be run.")
|
||||
.defaultValue(DEFAULT_EVICTION_RUN_PERIOD)
|
||||
.required(false)
|
||||
|
|
|
@ -99,7 +99,7 @@ public class ReplaceTextWithMapping extends AbstractProcessor {
|
|||
.build();
|
||||
public static final PropertyDescriptor MAPPING_FILE_REFRESH_INTERVAL = new PropertyDescriptor.Builder()
|
||||
.name("Mapping File Refresh Interval")
|
||||
.description("The polling interval in seconds to check for updates to the mapping file. The default is 60s.")
|
||||
.description("The polling interval to check for updates to the mapping file. The default is 60s.")
|
||||
.addValidator(StandardValidators.TIME_PERIOD_VALIDATOR)
|
||||
.required(true)
|
||||
.defaultValue("60s")
|
||||
|
|
|
@ -179,7 +179,7 @@ public class HikariCPConnectionPool extends AbstractControllerService implements
|
|||
public static final PropertyDescriptor MAX_CONN_LIFETIME = new PropertyDescriptor.Builder()
|
||||
.name("hikaricp-max-conn-lifetime")
|
||||
.displayName("Max Connection Lifetime")
|
||||
.description("The maximum lifetime in milliseconds of a connection. After this time is exceeded the " +
|
||||
.description("The maximum lifetime of a connection. After this time is exceeded the " +
|
||||
"connection will fail the next activation, passivation or validation test. A value of zero or less " +
|
||||
"means the connection has an infinite lifetime.")
|
||||
.defaultValue(DEFAULT_MAX_CONN_LIFETIME)
|
||||
|
|
|
@ -215,7 +215,7 @@ public class HadoopDBCPConnectionPool extends AbstractControllerService implemen
|
|||
public static final PropertyDescriptor MAX_CONN_LIFETIME = new PropertyDescriptor.Builder()
|
||||
.displayName("Max Connection Lifetime")
|
||||
.name("dbcp-max-conn-lifetime")
|
||||
.description("The maximum lifetime in milliseconds of a connection. After this time is exceeded the " +
|
||||
.description("The maximum lifetime of a connection. After this time is exceeded the " +
|
||||
"connection will fail the next activation, passivation or validation test. A value of zero or less " +
|
||||
"means the connection has an infinite lifetime.")
|
||||
.defaultValue(DEFAULT_MAX_CONN_LIFETIME)
|
||||
|
@ -227,7 +227,7 @@ public class HadoopDBCPConnectionPool extends AbstractControllerService implemen
|
|||
public static final PropertyDescriptor EVICTION_RUN_PERIOD = new PropertyDescriptor.Builder()
|
||||
.displayName("Time Between Eviction Runs")
|
||||
.name("dbcp-time-between-eviction-runs")
|
||||
.description("The number of milliseconds to sleep between runs of the idle connection evictor thread. When " +
|
||||
.description("The time period to sleep between runs of the idle connection evictor thread. When " +
|
||||
"non-positive, no idle connection evictor thread will be run.")
|
||||
.defaultValue(DEFAULT_EVICTION_RUN_PERIOD)
|
||||
.required(false)
|
||||
|
|
Loading…
Reference in New Issue