Class LocalStore
java.lang.Object
org.apache.sling.distribution.journal.bookkeeper.LocalStore
@ParametersAreNonnullByDefault public class LocalStore extends Object
-
Constructor Summary
Constructors Constructor Description LocalStore(org.apache.sling.api.resource.ResourceResolverFactory resolverFactory, String storeType, String storeId) -
Method Summary
Modifier and Type Method Description org.apache.sling.api.resource.ValueMapload()<T> Tload(String key, Class<T> clazz)<T> Tload(String key, T defaultValue)voidstore(String key, Object value)voidstore(org.apache.sling.api.resource.ResourceResolver serviceResolver, String key, Object value)voidstore(org.apache.sling.api.resource.ResourceResolver serviceResolver, Map<String,Object> map)
-
Constructor Details
-
Method Details
-
store
public void store(String key, Object value) throws org.apache.sling.api.resource.PersistenceException- Throws:
org.apache.sling.api.resource.PersistenceException
-
store
public void store(org.apache.sling.api.resource.ResourceResolver serviceResolver, String key, Object value) throws org.apache.sling.api.resource.PersistenceException- Throws:
org.apache.sling.api.resource.PersistenceException
-
store
public void store(org.apache.sling.api.resource.ResourceResolver serviceResolver, Map<String,Object> map) throws org.apache.sling.api.resource.PersistenceException- Throws:
org.apache.sling.api.resource.PersistenceException
-
load
-
load
-
load
public org.apache.sling.api.resource.ValueMap load()
-