Package org.apache.jackrabbit.core

Examples of org.apache.jackrabbit.core.WorkspaceManager


            // Delay return from a write operation if the observation queue
            // is being overloaded. This needs to be done after releasing
            // the (outermost) write locks to prevent potential deadlocks.
            // See https://issues.apache.org/jira/browse/JCR-2746
            if (isOutermostWriteOperation) {
                WorkspaceManager manager =
                    context.getRepositoryContext().getWorkspaceManager();
                ObservationDispatcher dispatcher =
                    manager.getObservationDispatcher(context.getWorkspace().getName());
                dispatcher.delayIfEventQueueOverloaded();
            }
        }
    }
View Full Code Here


            // Delay return from a write operation if the observation queue
            // is being overloaded. This needs to be done after releasing
            // the (outermost) write locks to prevent potential deadlocks.
            // See https://issues.apache.org/jira/browse/JCR-2746
            if (isOutermostWriteOperation) {
                WorkspaceManager manager =
                    context.getRepositoryContext().getWorkspaceManager();
                ObservationDispatcher dispatcher =
                    manager.getObservationDispatcher(context.getWorkspace().getName());
                dispatcher.delayIfEventQueueOverloaded();
            }
        }
    }
View Full Code Here

            // Delay return from a write operation if the observation queue
            // is being overloaded. This needs to be done after releasing
            // the (outermost) write locks to prevent potential deadlocks.
            // See https://issues.apache.org/jira/browse/JCR-2746
            if (isOutermostWriteOperation) {
                WorkspaceManager manager =
                    context.getRepositoryContext().getWorkspaceManager();
                ObservationDispatcher dispatcher =
                    manager.getObservationDispatcher(context.getWorkspace().getName());
                dispatcher.delayIfEventQueueOverloaded();
            }
        }
    }
View Full Code Here

            // Delay return from a write operation if the observation queue
            // is being overloaded. This needs to be done after releasing
            // the (outermost) write locks to prevent potential deadlocks.
            // See https://issues.apache.org/jira/browse/JCR-2746
            if (isOutermostWriteOperation) {
                WorkspaceManager manager =
                    context.getRepositoryContext().getWorkspaceManager();
                ObservationDispatcher dispatcher =
                    manager.getObservationDispatcher(context.getWorkspace().getName());
                dispatcher.delayIfEventQueueOverloaded();
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.core.WorkspaceManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.