public class PersistenceAccountingService
extends org.gcube.documentstore.persistence.PersistenceBackend
| Modifier and Type | Field and Description |
|---|---|
protected String |
context |
static String |
GCORE_END_POINT_NAME |
static String |
GCORE_END_RUNNING |
static String |
PATH_SERVICE_ACCOUNTING |
static String |
PATH_SERVICE_INSERT_ACCOUNTING |
static String |
PATH_SERVICE_INSERTS_ACCOUNTING |
static String |
PATH_SERVICE_STATUS_ACCOUNTING |
static String |
RESOURCE_ACCOUNTING |
static String |
URL_SERVICE_ACCOUNTING_KEY |
protected String |
urlService |
| Constructor and Description |
|---|
PersistenceAccountingService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
accountWithFallback(org.gcube.documentstore.records.Record... records) |
void |
close() |
protected void |
closeAndClean() |
protected void |
closeConnection() |
protected void |
openConnection() |
protected void |
prepareConnection(org.gcube.documentstore.persistence.PersistenceBackendConfiguration configuration) |
protected void |
reallyAccount(org.gcube.documentstore.records.Record record) |
public static final String URL_SERVICE_ACCOUNTING_KEY
public static final String PATH_SERVICE_ACCOUNTING
public static final String PATH_SERVICE_INSERT_ACCOUNTING
public static final String PATH_SERVICE_INSERTS_ACCOUNTING
public static final String PATH_SERVICE_STATUS_ACCOUNTING
public static final String GCORE_END_POINT_NAME
public static final String GCORE_END_RUNNING
public static final String RESOURCE_ACCOUNTING
protected String urlService
protected String context
protected void prepareConnection(org.gcube.documentstore.persistence.PersistenceBackendConfiguration configuration)
throws Exception
prepareConnection in class org.gcube.documentstore.persistence.PersistenceBackendExceptionprotected void reallyAccount(org.gcube.documentstore.records.Record record)
throws Exception
reallyAccount in class org.gcube.documentstore.persistence.PersistenceBackendExceptionprotected void accountWithFallback(org.gcube.documentstore.records.Record... records)
throws Exception
accountWithFallback in class org.gcube.documentstore.persistence.PersistenceBackendExceptionpublic void close()
throws Exception
close in class org.gcube.documentstore.persistence.PersistenceBackendExceptionprotected void openConnection()
throws Exception
openConnection in class org.gcube.documentstore.persistence.PersistenceBackendExceptionprotected void closeConnection()
throws Exception
closeConnection in class org.gcube.documentstore.persistence.PersistenceBackendExceptionCopyright © 2017. All Rights Reserved.