Back to project page android-rackspacecloud.
The source code is released under:
MIT License
If you think the Android project android-rackspacecloud listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * /*from www . ja v a 2s . c om*/ */ package com.rackspace.cloud.servers.api.client; import java.util.Calendar; /** * @author Mike Mayo - mike.mayo@rackspace.com - twitter.com/greenisus * */ public class EntityManager { protected String cacheBuster() { Calendar calendar = Calendar.getInstance(); java.util.Date now = calendar.getTime(); java.sql.Timestamp currentTimestamp = new java.sql.Timestamp(now.getTime()); return "?now=" + currentTimestamp.getTime(); } // // CRUD Operations // public void create(Entity entity) throws CloudServersException { } public void remove(Entity e) { } public void update(Entity e) { } public void refresh(Entity e) { } public Entity find(long id) throws CloudServersException { return null; } // // Polling Operations // public void wait(Entity e) { } public void wait(Entity e, long timeout) { } /* public void notify(Entity e, ChangeListener ch) { } public void stopNotify(Entity e, ChangeListener ch) { } */ // // Lists // /* public ArrayList createList(boolean detail) throws CloudServersException { return null; } public EntityList createDeltaList(boolean detail, long changesSince) { return null; } public EntityList createList(boolean detail, long offset, long limit) { return null; } public EntityList createDeltaList(boolean detail, long changesSince, long offset, long limit) { return null; } */ }