public class ObjectStoreHelper<T extends Serializable> extends Object
Modifier and Type | Method and Description |
---|---|
static <T extends Serializable> |
create(String keyPrefix,
org.mule.api.store.ObjectStore<T> objectStore) |
String |
getLastUpdateTimeKey(String type) |
String |
getLatestUpdateTimeBackupKey(String type) |
Calendar |
getTimestamp(String type) |
void |
resetTimestamps(String type) |
void |
updateTimestamp(com.sforce.soap.partner.GetUpdatedResult updatedResult,
String type) |
@NotNull public static <T extends Serializable> ObjectStoreHelper<T> create(@NotNull String keyPrefix, @NotNull org.mule.api.store.ObjectStore<T> objectStore)
public void updateTimestamp(@NotNull com.sforce.soap.partner.GetUpdatedResult updatedResult, @NotNull String type) throws org.mule.api.store.ObjectStoreException
org.mule.api.store.ObjectStoreException
@Nullable public Calendar getTimestamp(String type) throws org.mule.api.store.ObjectStoreException
org.mule.api.store.ObjectStoreException
public void resetTimestamps(@NotNull String type) throws org.mule.api.store.ObjectStoreException
org.mule.api.store.ObjectStoreException
Copyright © 2010–2020. All rights reserved.