https://github.com/skitsanos/ironcache-client
IronCache API Client for ActionScript 3 and Flex
https://github.com/skitsanos/ironcache-client
Last synced: 22 days ago
JSON representation
IronCache API Client for ActionScript 3 and Flex
- Host: GitHub
- URL: https://github.com/skitsanos/ironcache-client
- Owner: skitsanos
- Created: 2013-07-11T12:16:54.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-06-02T08:23:09.000Z (over 1 year ago)
- Last Synced: 2025-03-05T07:29:27.447Z (7 months ago)
- Language: ActionScript
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
IronCache API Client for ActionScript 3.0
---**Usage:**
Create IronCache client instance
```
private var caches:IronCache = new IronCache('project_id', 'token');
```List caches
```
caches.caches('myapp', function (data:*):void
{
log.text = JSON.stringify(data);
});
```Clear caches
```
caches.clear('myapp', function (data:*):void
{
log.text = JSON.stringify(data);
});
```Put value into a cache
```
caches.put('myapp', 'transport-orders.counter', 1, function (data:*):void
{
log.text = JSON.stringify(data);
});
```Increment value
```
caches.increment('smartcontainers', 'transport-orders.counter', 1, function (data:*):void
{
log.text = JSON.stringify(data);
});
```**References**
+ [IronCache Documentation](http://dev.iron.io/cache/)