@Deprecated public class JahiaISMLocking extends Object implements org.apache.jackrabbit.core.state.ISMLocking
| Constructor and Description |
|---|
JahiaISMLocking()
Deprecated.
Initializes an instance of this class.
|
JahiaISMLocking(boolean fair)
Deprecated.
Initializes an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.jackrabbit.core.state.ISMLocking.ReadLock |
acquireReadLock(org.apache.jackrabbit.core.id.ItemId id)
Deprecated.
Increments the reader count and returns the acquired read lock once
there are no more writers or the current writer shares the thread id
with this reader.
|
org.apache.jackrabbit.core.state.ISMLocking.WriteLock |
acquireWriteLock(org.apache.jackrabbit.core.state.ChangeLog changeLog)
Deprecated.
Increments the writer count, sets the writer identifier and returns
the acquired write lock once there are no other active readers or
writers or the current writer shares the thread id with this writer.
|
public JahiaISMLocking()
public JahiaISMLocking(boolean fair)
fair - true if this lock should use a fair ordering policypublic org.apache.jackrabbit.core.state.ISMLocking.ReadLock acquireReadLock(org.apache.jackrabbit.core.id.ItemId id)
throws InterruptedException
acquireReadLock in interface org.apache.jackrabbit.core.state.ISMLockingInterruptedExceptionpublic org.apache.jackrabbit.core.state.ISMLocking.WriteLock acquireWriteLock(org.apache.jackrabbit.core.state.ChangeLog changeLog)
throws InterruptedException
acquireWriteLock in interface org.apache.jackrabbit.core.state.ISMLockingInterruptedExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.