public final class HazelcastProperty extends Object
| Modifier | Constructor and Description | 
|---|---|
  | 
HazelcastProperty(String name)  | 
  | 
HazelcastProperty(String name,
                 boolean defaultValue)  | 
  | 
HazelcastProperty(String name,
                 Byte defaultValue)  | 
  | 
HazelcastProperty(String name,
                 Double defaultValue)  | 
  | 
HazelcastProperty(String name,
                 Enum<?> defaultEnum)  | 
  | 
HazelcastProperty(String name,
                 Float defaultValue)  | 
  | 
HazelcastProperty(String name,
                 Function<HazelcastProperties,?> function)  | 
  | 
HazelcastProperty(String name,
                 HazelcastProperty property)  | 
  | 
HazelcastProperty(String name,
                 Integer defaultValue)  | 
  | 
HazelcastProperty(String name,
                 Integer defaultValue,
                 TimeUnit timeUnit)  | 
  | 
HazelcastProperty(String name,
                 Long defaultValue,
                 TimeUnit timeUnit)  | 
  | 
HazelcastProperty(String name,
                 String defaultValue)  | 
protected  | 
HazelcastProperty(String name,
                 String defaultValue,
                 TimeUnit timeUnit)  | 
  | 
HazelcastProperty(String name,
                 String defaultValue,
                 TimeUnit timeUnit,
                 HazelcastProperty parent)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getDefaultValue()
Returns the default value of the property. 
 | 
String | 
getDeprecatedName()  | 
Function<HazelcastProperties,?> | 
getFunction()  | 
String | 
getName()
Returns the property name. 
 | 
HazelcastProperty | 
getParent()
Returns the parent  
ClusterProperty of the property. | 
String | 
getSystemProperty()
Gets the system property value of the property. 
 | 
TimeUnit | 
getTimeUnit()
Returns the  
TimeUnit of the property. | 
HazelcastProperty | 
setDeprecatedName(String deprecatedName)
Sets the deprecated name of ths property. 
 | 
void | 
setSystemProperty(String value)
Sets the system property value of the property. 
 | 
String | 
toString()  | 
public HazelcastProperty(String name)
public HazelcastProperty(String name, Function<HazelcastProperties,?> function)
public HazelcastProperty(String name, boolean defaultValue)
public HazelcastProperty(String name, HazelcastProperty property)
public HazelcastProperty(String name, String defaultValue, TimeUnit timeUnit, HazelcastProperty parent)
public HazelcastProperty setDeprecatedName(String deprecatedName)
 HazelcastProperty property = new HazelcastProperty("newname").setDeprecatedName("oldname");
 deprecatedName - the deprecated name of the propertyHazelcastPropertyIllegalArgumentException - if the deprecatedName is null or an empty string.public Function<HazelcastProperties,?> getFunction()
public String getDeprecatedName()
public String getName()
public String getDefaultValue()
null if none is definedpublic TimeUnit getTimeUnit()
TimeUnit of the property.TimeUnitIllegalArgumentException - if no TimeUnit is definedpublic HazelcastProperty getParent()
ClusterProperty of the property.ClusterProperty or null if none is definedpublic void setSystemProperty(String value)
value - the value to setpublic String getSystemProperty()
Copyright © 2022 Hazelcast, Inc.. All rights reserved.