Anonymous avatar Anonymous committed ead7697

Made public the constants for the notification types

Comments (0)

Files changed (1)

src/plugins/clustersupport/java/com/opensymphony/oscache/plugins/clustersupport/ClusterNotification.java

      * Specifies a notification message that indicates a particular cache key
      * should be flushed.
      */
-    static final int FLUSH_KEY = 1;
+    public static final int FLUSH_KEY = 1;
 
     /**
      * Specifies a notification message that indicates an entire cache group
      * should be flushed.
      */
-    static final int FLUSH_GROUP = 2;
+    public static final int FLUSH_GROUP = 2;
 
     /**
      * Specifies a notification message that indicates all entries in the cache
      * that match the specified pattern should be flushed.
      */
-    static final int FLUSH_PATTERN = 3;
+    public static final int FLUSH_PATTERN = 3;
 
     /**
      * Specifies a notification message indicating that an entire cache should
      * be flushed.
      */
-    static final int FLUSH_CACHE = 4;
+    public static final int FLUSH_CACHE = 4;
 
     /**
      * Any additional data that may be required
      */
-    private Serializable data;
+    protected Serializable data;
 
     /**
      * The type of notification message.
      */
-    private int type;
+    protected int type;
 
     /**
      * Creates a new notification message object to broadcast to other
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.