| Package | Description |
|---|---|
| org.osgl.storage | |
| org.osgl.storage.impl |
| Modifier and Type | Method and Description |
|---|---|
ISObject |
IStorageService.forceGet(String key)
Deprecated.
|
ISObject |
IStorageService.get(String key)
Retrieve the stuff from the storage by key
|
ISObject |
IStorageService.getFull(String key)
Force retrieving the stuff with content from storage without regarding to the configuration
|
ISObject |
IStorageService.getLazy(String key,
Map<String,String> attrs)
Returns lazy SObject with attributes set.
|
ISObject |
IStorageService.loadContent(ISObject sobj)
Load content of an sobject.
|
ISObject |
IStorageService.put(String key,
ISObject stuff)
Update the stuff in the storage.
|
ISObject |
ISObject.setAttribute(String key,
String val)
Set an attribute to the storage object associated by key specified.
|
ISObject |
ISObject.setAttributes(Map<String,String> attrs)
Set attributes to the storage object
|
| Modifier and Type | Method and Description |
|---|---|
static org.osgl.Osgl.F2<String,IStorageService,ISObject> |
IStorageService.f.get() |
static org.osgl.Osgl.F0<ISObject> |
IStorageService.f.get(String key,
IStorageService ss) |
static org.osgl.Osgl.F3<String,ISObject,IStorageService,Void> |
IStorageService.f.put() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IStorageService.isManaged(ISObject sobj)
Report if a
storage object is managed by this service |
ISObject |
IStorageService.loadContent(ISObject sobj)
Load content of an sobject.
|
ISObject |
IStorageService.put(String key,
ISObject stuff)
Update the stuff in the storage.
|
static org.osgl.Osgl.F0<Void> |
IStorageService.f.put(String key,
ISObject stuff,
IStorageService ss) |
| Modifier and Type | Class and Description |
|---|---|
class |
SObject
The implementation of
ISObject |
class |
StorageObject<TYPE extends StorageObject,SVC extends StorageServiceBase<TYPE>> |
| Modifier and Type | Field and Description |
|---|---|
protected ISObject |
StorageObject.buf |
| Modifier and Type | Method and Description |
|---|---|
protected ISObject |
StorageObject.buf() |
ISObject |
StorageServiceBase.forceGet(String key) |
ISObject |
StorageServiceBase.get(String key) |
ISObject |
StorageServiceBase.getFull(String key) |
ISObject |
StorageServiceBase.getLazy(String key,
Map<String,String> attrs) |
protected ISObject |
StorageObject.loadBuf() |
ISObject |
StorageServiceBase.loadContent(ISObject sobj) |
protected ISObject |
FileSystemService.newSObject(String key) |
protected abstract ISObject |
StorageServiceBase.newSObject(String key) |
protected ISObject |
S3Service.newSObject(String key) |
protected ISObject |
AzureService.newSObject(String key) |
ISObject |
StorageServiceBase.put(String key,
ISObject stuff) |
ISObject |
SObject.setAttribute(String key,
String val) |
ISObject |
SObject.setAttributes(Map<String,String> attrs) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
FileSystemService.doPut(String fullPath,
ISObject stuff,
Map<String,String> attrs) |
protected abstract void |
StorageServiceBase.doPut(String fullPath,
ISObject stuff,
Map<String,String> attrs)
Put the storage object specified by fullPath into the storage service.
|
protected void |
S3Service.doPut(String fullPath,
ISObject stuff,
Map<String,String> attrs) |
protected void |
AzureService.doPut(String fullPath,
ISObject stuff,
Map<String,String> attrs) |
boolean |
StorageServiceBase.isManaged(ISObject sobj) |
ISObject |
StorageServiceBase.loadContent(ISObject sobj) |
ISObject |
StorageServiceBase.put(String key,
ISObject stuff) |
static SObject |
SObject.valueOf(String key,
ISObject copy) |
Copyright © 2013–2017 OSGL (Open Source General Library). All rights reserved.