mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Adding MQTT pagination details
This commit is contained in:
parent
8ca85f1177
commit
df06953069
@ -1,3 +1,4 @@
|
||||
|
||||
/*
|
||||
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
*
|
||||
|
||||
@ -32,6 +32,7 @@ public class PaginationConfiguration {
|
||||
private int operationListPageSize;
|
||||
private int notificationListPageSize;
|
||||
private int activityListPageSize;
|
||||
private int topicListPageSize;
|
||||
|
||||
public int getDeviceListPageSize() {
|
||||
return deviceListPageSize;
|
||||
@ -78,4 +79,14 @@ public class PaginationConfiguration {
|
||||
this.activityListPageSize = activityListPageSize;
|
||||
}
|
||||
|
||||
public int getTopicListPageSize() {
|
||||
return deviceListPageSize;
|
||||
}
|
||||
|
||||
@XmlElement(name = "TopicListPageSize", required = true)
|
||||
public void setTopicListPageSize(int topicListPageSize) {
|
||||
this.topicListPageSize = topicListPageSize;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -65,6 +65,7 @@
|
||||
<NotificationListPageSize>20</NotificationListPageSize>
|
||||
<ActivityListPageSize>20</ActivityListPageSize>
|
||||
<OperationListPageSize>20</OperationListPageSize>
|
||||
<TopicListPageSize>20</TopicListPageSize>
|
||||
</PaginationConfiguration>
|
||||
<!--This specifies whether to enable the DeviceStatus Task in this node. In clustered setup only master node
|
||||
should have to run this task.-->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user