public class OSharedContainerImpl extends Object implements OSharedContainer
OSharedResource
interface then the resource is locked until is removed.Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
sharedResources |
Constructor and Description |
---|
OSharedContainerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
clearResources() |
boolean |
existsResource(String iName) |
<T> T |
getResource(String iName,
Callable<T> iCallback) |
<T> T |
removeResource(String iName) |
public boolean existsResource(String iName)
existsResource
in interface OSharedContainer
public <T> T removeResource(String iName)
removeResource
in interface OSharedContainer
public <T> T getResource(String iName, Callable<T> iCallback)
getResource
in interface OSharedContainer
public void clearResources()
Copyright © 2009–2020 OrientDB. All rights reserved.