public static class PerSessionCoreProvider.Ref extends Object implements SessionRef
Modifier and Type | Field and Description |
---|---|
protected ReentrantLock |
lock |
protected CloseableCoreSession |
session |
Constructor and Description |
---|
Ref(CloseableCoreSession session) |
protected CloseableCoreSession session
protected ReentrantLock lock
public Ref(CloseableCoreSession session)
public CoreSession get()
get
in interface SessionRef
public void unget()
unget
in interface SessionRef
public void destroy()
destroy
in interface SessionRef
Copyright © 2019 Nuxeo. All rights reserved.