Interface CacheManipulator
-
- All Superinterfaces:
MonitorManipulator
public interface CacheManipulator extends MonitorManipulator
The interfaceCacheManipulatorcontains operations to manage caches.- Since:
- MicroStrategy Web 9.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddManipualtionTask(java.lang.String projectDSSID, int action, MonitorFilter filter)Adds to the task list for batch operation on caches.voidalter(java.lang.String projectDSSID, int action, MonitorFilter filter)Alters caches associated with the specified project.java.util.Optional<java.lang.String>alter(java.lang.String nodeName, java.lang.String projectDSSID, int action, MonitorFilter filter, boolean isAsync)THIS METHOD IS NOT SUPPORTED FOR USE IN CUSTOM APPLICATION DEVELOPMENT.MonitorFilternewMonitorFilter()Creates a newMonitorFilterobject, used in cache management.-
Methods inherited from interface com.microstrategy.web.objects.admin.monitors.MonitorManipulator
clear, submit
-
-
-
-
Method Detail
-
newMonitorFilter
MonitorFilter newMonitorFilter()
Creates a newMonitorFilterobject, used in cache management.- Returns:
- a new
MonitorFilterobject.
-
alter
void alter(java.lang.String projectDSSID, int action, MonitorFilter filter) throws MonitorManipulationException, WebObjectsAdminExceptionAlters caches associated with the specified project.- Parameters:
projectDSSID- the ID of a project.action- cache administrative action, a value fromEnumDSSXMLCacheAdminActionfilter- a qualifying condition to filter caches- Throws:
MonitorManipulationException- thrown if there is any failure in managing caches.WebObjectsAdminException- throwns if there is any fatal error preventing this operation, such as network error, server crash, etc.
-
alter
java.util.Optional<java.lang.String> alter(java.lang.String nodeName, java.lang.String projectDSSID, int action, MonitorFilter filter, boolean isAsync) throws MonitorManipulationException, WebObjectsAdminExceptionTHIS METHOD IS NOT SUPPORTED FOR USE IN CUSTOM APPLICATION DEVELOPMENT. THE METHOD IS SUBJECT TO CHANGE IN FUTURE RELEASES AND SOME METHODS AND PROPERTIES MAY NOT BE SUITABLE FOR CUSTOM DEVELOPMENT. Alters caches associated with the specified project on specific cluster node. notes: here can specify alteration behavior is asynchronous or not. if the manipulation is async, it will return manipulationInstanceId, if the manipulation is sync, it will return Optional.empty().- Parameters:
projectDSSID- the ID of a project.action- cache administrative action, a value fromEnumDSSXMLCacheAdminActionfilter- a qualifying condition to filter cachesisAsync- a flag to control alter behavior is async or not- Returns:
- if the manipulation is async, it will return manipulationInstanceId, if sync, it will return Optional.empty().
- Throws:
MonitorManipulationException- thrown if there is any failure in managing caches.WebObjectsAdminException- throwns if there is any fatal error preventing this operation, such as network error, server crash, etc.
-
addManipualtionTask
void addManipualtionTask(java.lang.String projectDSSID, int action, MonitorFilter filter)Adds to the task list for batch operation on caches.- Parameters:
projectDSSID- the ID of a project.action- cache administrative action, a value fromEnumDSSXMLCacheAdminActionfilter- a qualifying condition to filter caches
-
-