public interface PushNotificationsMBean
getCurrentMPNDevices()
), together with a deleteMPNDevice(java.lang.String)
operation for cleanup purpose.getPushNotificationFrequency()
).getMPNDevicePlatformType(java.lang.String)
).replaceCurrentModule()
and getIsModuleActive()
).Modifier and Type | Method and Description |
---|---|
void |
deactivateCurrentModule()
Initiates the closure of all operations by the MPN Module, which will be
carried out asynchronously.
|
java.lang.Boolean |
deleteMPNDevice(java.lang.String deviceId)
Stops managing a specified MPN Device that is currently served by the
Push Notification service in this Server instance.
|
java.lang.Long |
getCumulFilteredEvents() |
java.lang.Long |
getCumulPushNotificationBytes() |
java.lang.Long |
getCumulPushNotifications() |
java.lang.String |
getCurrentMPNDevice(java.lang.String platformType,
java.lang.String applicationId,
java.lang.String deviceToken) |
java.util.List<java.lang.String> |
getCurrentMPNDeviceList() |
java.util.List<java.lang.String> |
getCurrentMPNDeviceListProtected(java.lang.Integer max) |
java.lang.Integer |
getCurrentMPNDevices() |
java.lang.Double |
getCurrentPushNotificationThroughputKbps() |
java.lang.Integer |
getDeviceHandlerPoolQueue() |
java.lang.Boolean |
getIsModuleActive() |
java.lang.Integer |
getMaxMPNDevices() |
java.lang.Double |
getMaxPushNotificationFrequency() |
java.lang.Double |
getMaxPushNotificationThroughputKbps() |
java.lang.String |
getMPNDeviceApplicationId(java.lang.String deviceId) |
java.lang.String |
getMPNDeviceFromSubscription(java.lang.String subscriptionId) |
java.lang.String |
getMPNDevicePlatformType(java.lang.String deviceId) |
java.lang.String |
getMPNDeviceToken(java.lang.String deviceId) |
java.lang.Integer |
getNewFilteredEvents() |
java.lang.Integer |
getNewStartedMPNDevices() |
java.lang.Integer |
getNewTerminatedMPNDevices() |
java.lang.Double |
getPushNotificationFrequency() |
void |
replaceCurrentModule()
Initiates the creation and startup of a new module, which will be carried
out asynchronously.
|
java.lang.Integer getCurrentMPNDevices()
java.util.List<java.lang.String> getCurrentMPNDeviceListProtected(java.lang.Integer max)
max
- The maximum number of elements to be returned, or null
if no limit is requested.getCurrentMPNDevices()
java.util.List<java.lang.String> getCurrentMPNDeviceList()
getCurrentMPNDeviceListProtected(java.lang.Integer)
,
getCurrentMPNDevices()
java.lang.Integer getMaxMPNDevices()
getCurrentMPNDevices()
java.lang.Integer getNewStartedMPNDevices()
getCurrentMPNDevices()
java.lang.Integer getNewTerminatedMPNDevices()
getCurrentMPNDevices()
java.lang.Long getCumulPushNotificationBytes()
java.lang.Long getCumulPushNotifications()
java.lang.Double getPushNotificationFrequency()
java.lang.Double getMaxPushNotificationFrequency()
java.lang.Double getCurrentPushNotificationThroughputKbps()
java.lang.Double getMaxPushNotificationThroughputKbps()
java.lang.Integer getNewFilteredEvents()
java.lang.Long getCumulFilteredEvents()
java.lang.Integer getDeviceHandlerPoolQueue()
java.lang.String getCurrentMPNDevice(java.lang.String platformType, java.lang.String applicationId, java.lang.String deviceToken)
platformType
- specifies a push notifications platform type.
See the PlatformType class in the Metadata Adapter interface
specifications for details on the available names.applicationId
- the app ID, also known as the bundle ID.
The domain of Application IDs is determined by the Platform.deviceToken
- the token of the device receiving the push notifications.
The domain of Device Tokens is determined by the Platform and
possibly by the Application.java.lang.String getMPNDevicePlatformType(java.lang.String deviceId)
deviceId
- an identifier, as returned from getCurrentMPNDeviceList()
,
getCurrentMPNDeviceListProtected(Integer)
, or getCurrentMPNDevice(java.lang.String, java.lang.String, java.lang.String)
.java.lang.String getMPNDeviceApplicationId(java.lang.String deviceId)
deviceId
- an identifier, as returned fromgetCurrentMPNDeviceList()
,
getCurrentMPNDeviceListProtected(Integer)
, or getCurrentMPNDevice(java.lang.String, java.lang.String, java.lang.String)
.java.lang.String getMPNDeviceToken(java.lang.String deviceId)
deviceId
- an identifier, as returned from getCurrentMPNDeviceList()
,
getCurrentMPNDeviceListProtected(Integer)
, or getCurrentMPNDevice(java.lang.String, java.lang.String, java.lang.String)
.java.lang.String getMPNDeviceFromSubscription(java.lang.String subscriptionId)
subscriptionId
- The unique ID of a subscription. Subscriptions are
identified by their unique ID in the log and in the database;
the ID is also available to the client interface.java.lang.Boolean deleteMPNDevice(java.lang.String deviceId)
deviceId
- an identifier, as returned from getCurrentMPNDeviceList()
,
getCurrentMPNDeviceListProtected(Integer)
, or getCurrentMPNDevice(java.lang.String, java.lang.String, java.lang.String)
.void deactivateCurrentModule()
java.lang.Boolean getIsModuleActive()
deactivateCurrentModule()
.void replaceCurrentModule()
deactivateCurrentModule()
.
This is done regardless that the current module is working or inactive.
When the startup of the new module terminates, the new module will be used;
on the other hand, if the startup fails, the module will remain inactive.