/** * Returns the {@link Storage} storage service. */ public static Storage storage() { return platform.storage(); }
protected SyncDB (Platform platform) { _platform = platform; _storage = platform.storage(); _version = get(SYNC_VERS_KEY, 0, Codec.INT); // read the current unsynced key set for (String mod : sget(SYNC_MODS_KEY, Codec.STRING)) _mods.put(mod, 1); }
log = plat.log(); net = plat.net(); storage = plat.storage(); ui = new UI(this);