public class

ClearCacheQuery

extends Query
java.lang.Object
   ↳ com.neomades.content.Query
     ↳ com.neomades.content.ClearCacheQuery

Class Overview

Query which clears a Cache from ContentManager.

Summary

Public Constructors
ClearCacheQuery()
Public Methods
void setCacheType(String cacheType)
Protected Methods
final Cache getCache()
void onExecute()
Called by ContentManager when the query should be executed.
[Expand]
Inherited Methods
From class com.neomades.content.Query
From class java.lang.Object

Public Constructors

public ClearCacheQuery ()

Public Methods

public void setCacheType (String cacheType)

Parameters
cacheType the cache type name associated by the ContentManager.

Protected Methods

protected final Cache getCache ()

Returns
  • the cache to clear

protected void onExecute ()

Called by ContentManager when the query should be executed.