AgentMBean.java
1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.adobe.granite.jmx.annotation.Description
*/
package com.day.cq.replication.impl;
import com.adobe.granite.jmx.annotation.Description;
import java.util.Date;
@Description(value="Provides information about a replication agent and its queue.")
public interface AgentMBean {
@Description(value="Returns the id of the agent. The id is unique among the agents")
public String getId();
@Description(value="Checks if the agent is active")
public boolean isEnabled();
@Description(value="Checks if agent is valid")
public boolean isValid();
@Description(value="Checks if the queue is currently blocked")
public boolean isQueueBlocked();
@Description(value="Returns the number of entries in the replication queue.")
public long getQueueNumEntries();
@Description(value="Checks if the queue is paused.")
public boolean isQueuePaused();
@Description(value="Controls if this queue should be paused. Please note that the \"paused\" state is not persisted (yet), i.e. will be in running state after a restart.")
public void setQueuePaused(boolean var1);
@Description(value="Gets the time when this status was generated")
public Date getQueueStatusTime();
@Description(value="Returns the time when the next retry is performed if the queue is blocked or null otherwise.")
public Date getQueueNextRetryTime();
@Description(value="Gets the time since the queue is processing an entry or NULL if the queue is currently blocked or idle.")
public Date getQueueProcessingSince();
@Description(value="Returns the time when the last entry was processed.")
public Date getQueueLastProcessTime();
@Description(value="Forces a retry attempt on a blocked entry. this has only an effect, if the queue is blocked.")
public void queueForceRetry();
@Description(value="Clears the queue and removes all queue entries")
public void queueClear();
}