public class DatasetRef extends Object implements DatasetMXBean, Counters
| Modifier and Type | Field and Description |
|---|---|
AtomicLong |
activeReadTxn
Counter of active read transactions
|
AtomicLong |
activeWriteTxn
Counter of active write transactions
|
boolean |
allowDatasetUpdate |
boolean |
allowTimeoutOverride |
DatasetGraph |
dataset |
long |
maximumTimeoutOverride |
String |
name |
ServiceRef |
query |
ServiceRef |
readGraphStore |
ServiceRef |
readWriteGraphStore |
AtomicLong |
totalReadTxn
Cumulative counter of read transactions
|
AtomicLong |
totalWriteTxn
Cumulative counter of writer transactions
|
ServiceRef |
update |
ServiceRef |
upload |
| Constructor and Description |
|---|
DatasetRef() |
| Modifier and Type | Method and Description |
|---|---|
void |
finishTxn(ReadWrite mode) |
CounterSet |
getCounters() |
String |
getName() |
long |
getRequests() |
long |
getRequestsBad() |
long |
getRequestsGood() |
ServiceRef |
getServiceRef(String service) |
Collection<ServiceRef> |
getServiceRefs() |
void |
init() |
boolean |
isReadOnly() |
void |
startTxn(ReadWrite mode) |
String |
toString() |
public String name
public DatasetGraph dataset
public ServiceRef query
public ServiceRef update
public ServiceRef upload
public ServiceRef readGraphStore
public ServiceRef readWriteGraphStore
public AtomicLong activeReadTxn
public AtomicLong activeWriteTxn
public AtomicLong totalReadTxn
public AtomicLong totalWriteTxn
public boolean allowDatasetUpdate
public boolean allowTimeoutOverride
public long maximumTimeoutOverride
public CounterSet getCounters()
getCounters in interface Counterspublic void init()
public ServiceRef getServiceRef(String service)
public Collection<ServiceRef> getServiceRefs()
public void startTxn(ReadWrite mode)
public void finishTxn(ReadWrite mode)
public boolean isReadOnly()
public String getName()
getName in interface DatasetMXBeanpublic long getRequests()
getRequests in interface DatasetMXBeanpublic long getRequestsGood()
getRequestsGood in interface DatasetMXBeanpublic long getRequestsBad()
getRequestsBad in interface DatasetMXBeanLicenced under the Apache License, Version 2.0