|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dotmarketing.cache.VirtualLinksCache
public class VirtualLinksCache
This cache is used to mapped the virtual link path to the redirection path like /test path points to http://www.yahoo.com
| Constructor Summary | |
|---|---|
VirtualLinksCache()
|
|
| Method Summary | |
|---|---|
static void |
addPathToCache(VirtualLink vl)
This maps the given virtual link in the cache also sends a cache invalidation message to force the other peers in the cluster to re-map the key as well |
static void |
clearCache()
|
static java.lang.String[] |
getGroups()
|
static java.lang.String |
getPathFromCache(java.lang.String url)
Find the given url in the cache |
static java.lang.String |
getPrimaryGroup()
|
static void |
mapAllVirtualLinks()
|
static void |
removePathFromCache(java.lang.String url)
This method removes the given virtual link path from the cache and also sends an invalidation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VirtualLinksCache()
| Method Detail |
|---|
public static java.lang.String getPathFromCache(java.lang.String url)
url -
public static void addPathToCache(VirtualLink vl)
vl - public static void removePathFromCache(java.lang.String url)
url - public static void mapAllVirtualLinks()
public static void clearCache()
public static java.lang.String[] getGroups()
public static java.lang.String getPrimaryGroup()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||