| Package | Description |
|---|---|
| org.osgl.storage | |
| org.osgl.storage.impl | |
| org.osgl.util |
| 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 Lang.F2<String,IStorageService,ISObject> |
IStorageService.f.get() |
static Lang.F0<ISObject> |
IStorageService.f.get(String key,
IStorageService ss) |
static Lang.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 Lang.F0<Void> |
IStorageService.f.put(String key,
ISObject stuff,
IStorageService ss) |
| Modifier and Type | Class and Description |
|---|---|
class |
SObject
The implementation of
ISObject |
static class |
SObject.ByteArraySObject |
static class |
SObject.FileSObject |
static class |
SObject.InputStreamSObject |
static class |
SObject.LazyLoadSObject |
static class |
SObject.StringSObject |
| Modifier and Type | Method and Description |
|---|---|
ISObject |
SObject.setAttribute(String key,
String val) |
ISObject |
SObject.setAttributes(Map<String,String> attrs) |
| Modifier and Type | Method and Description |
|---|---|
static SObject |
SObject.valueOf(String key,
ISObject copy) |
| Modifier and Type | Method and Description |
|---|---|
ISObject |
IO.ReadStageBase.toSObject() |
ISObject |
IO.CharSequenceReadStage.toSObject() |
static ISObject |
IO.zip(ISObject... objects)
Zip a list of sobject into a single sobject.
|
| Modifier and Type | Method and Description |
|---|---|
static IO.SObjectReadStage |
IO.read(ISObject sobj) |
static IO.SObjectWriteStage |
IO.write(ISObject sobj) |
static ISObject |
IO.zip(ISObject... objects)
Zip a list of sobject into a single sobject.
|
| Constructor and Description |
|---|
SObjectReadStage(ISObject isObject) |
SObjectWriteStage(ISObject isObject) |
Copyright © 2014–2021 OSGL (Open Source General Library). All rights reserved.