public class JVultrCache
extends java.lang.Object
| Constructor and Description |
|---|
JVultrCache() |
| Modifier and Type | Method and Description |
|---|---|
static JVultrPlan |
getCachedPlan(int id) |
static java.util.Map<java.lang.Integer,JVultrPlan> |
getCachedPlans() |
static JVultrRegion |
getCachedRegion(int id) |
static java.util.Map<java.lang.Integer,JVultrRegion> |
getCachedRegions() |
static JVultrOS |
getCustom() |
static void |
reloadCachedPlans() |
static void |
reloadCachedRegions() |
static void |
setCachedPlans(java.util.Map<java.lang.Integer,JVultrPlan> plans) |
static void |
setCachedRegions(java.util.Map<java.lang.Integer,JVultrRegion> regions) |
public static java.util.Map<java.lang.Integer,JVultrRegion> getCachedRegions()
public static void setCachedRegions(java.util.Map<java.lang.Integer,JVultrRegion> regions)
public static void reloadCachedRegions()
public static JVultrRegion getCachedRegion(int id)
public static java.util.Map<java.lang.Integer,JVultrPlan> getCachedPlans()
public static void setCachedPlans(java.util.Map<java.lang.Integer,JVultrPlan> plans)
public static void reloadCachedPlans()
public static JVultrPlan getCachedPlan(int id)
public static JVultrOS getCustom()