public class WriteBlockedMGraph extends WriteBlockedTripleCollection implements LockableMGraph
MGraph
. If SecurityManger
is not null
TcManager
checks the TcPermission
.
If read-only permissions are set this wrapper is used instead of MGraph
.Constructor and Description |
---|
WriteBlockedMGraph(LockableMGraph mGraph)
Creates a wrapper of
SimpleMGraph |
Modifier and Type | Method and Description |
---|---|
Graph |
getGraph()
Returns the graph
|
java.util.concurrent.locks.ReadWriteLock |
getLock()
The lock provided by this methods allows to create read- and write-locks
that span individual method calls.
|
add, addAll, addGraphListener, addGraphListener, clear, filter, iterator, remove, removeAll, removeGraphListener, retainAll, size
contains, containsAll, isEmpty, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addGraphListener, addGraphListener, filter, removeGraphListener
public WriteBlockedMGraph(LockableMGraph mGraph)
SimpleMGraph
public java.util.concurrent.locks.ReadWriteLock getLock()
LockableMGraph
getLock
in interface LockableMGraph
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.