public class PersistenceAccountingService
extends org.gcube.documentstore.persistence.PersistenceBackend
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH_SERVICE_INSERT_ACCOUNTING |
static String |
SERVICE_CLASS |
static String |
SERVICE_ENTRY_NAME |
static String |
SERVICE_NAME |
static String |
URL_PROPERTY_KEY |
| Constructor and Description |
|---|
PersistenceAccountingService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
accountWithFallback(org.gcube.documentstore.records.Record... records) |
protected void |
clean() |
void |
close() |
protected void |
closeConnection() |
protected static void |
forceURL(String url) |
boolean |
isConnectionActive() |
protected void |
openConnection() |
protected void |
prepareConnection(org.gcube.documentstore.persistence.PersistenceBackendConfiguration configuration) |
protected void |
reallyAccount(org.gcube.documentstore.records.Record record) |
protected void |
send(org.gcube.documentstore.records.Record... records) |
public static final String PATH_SERVICE_INSERT_ACCOUNTING
public static final String URL_PROPERTY_KEY
public static final String SERVICE_CLASS
public static final String SERVICE_NAME
public static final String SERVICE_ENTRY_NAME
protected static void forceURL(String url)
protected void prepareConnection(org.gcube.documentstore.persistence.PersistenceBackendConfiguration configuration)
throws Exception
prepareConnection in class org.gcube.documentstore.persistence.PersistenceBackendExceptionprotected void send(org.gcube.documentstore.records.Record... records)
throws Exception
Exceptionprotected 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.PersistenceBackendExceptionpublic boolean isConnectionActive()
throws Exception
isConnectionActive in class org.gcube.documentstore.persistence.PersistenceBackendExceptionCopyright © 2019. All Rights Reserved.