Package | Description |
---|---|
com.pushtechnology.diffusion.api |
The Diffusion API comprises a number of packages which provide access to
different aspects of Diffusion.
|
com.pushtechnology.diffusion.api.publisher |
Diffusion Internal Publisher API.
|
Modifier and Type | Method and Description |
---|---|
int |
PropertyHandler.getBytesProperty(String key)
Converts a size into bytes.
|
int |
PropertyHandler.getBytesProperty(String key,
int defaultValue)
Converts a size into bytes.
|
double |
PropertyHandler.getDoubleProperty(String key)
Get a double property.
|
int |
PropertyHandler.getIntegerProperty(String key)
Get an integer property.
|
int |
PropertyHandler.getIntegerProperty(String key,
int defaultValue)
Get an integer property if it exists otherwise return a default value.
|
long |
PropertyHandler.getLongProperty(String key)
Get a long property.
|
long |
PropertyHandler.getLongProperty(String key,
long defaultValue)
Get an long property if it exists otherwise return a default value.
|
String |
PropertyHandler.getMandatoryProperty(String key)
Get a mandatory property.
|
long |
PropertyHandler.getMillisProperty(String key)
Converts a time into milliseconds.
|
long |
PropertyHandler.getMillisProperty(String key,
long defaultValue)
Converts a time into milliseconds.
|
String |
PropertyHandler.getProperty(String key,
String defaultValue,
String... allowedValues)
Get a property if it exists and validate it against a set of allowed
values.
|
static void |
APIProperties.setNumberOfAcceptors(int acceptors)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Publisher.getBooleanProperty(String key)
This is a convenience method to get an boolean property value for this
publisher from the Publishers.xml file.
|
int |
Publisher.getBytesProperty(String key)
This is a convenience method to get a bytes property value for this
publisher from the Publishers.xml file.
|
int |
Publisher.getIntegerProperty(String key)
This is a convenience method to get an integer property value for this
publisher from the Publishers.xml file.
|
long |
Publisher.getMillisProperty(String key)
This is a convenience method to get a time property value for this
publisher from the Publishers.xml file.
|
Copyright © 2016 Push Technology Ltd. All Rights Reserved.