Examples of lockId()


Examples of org.gridgain.grid.kernal.processors.ggfs.GridGgfsFileInfo.lockId()

                    GridGgfsFileInfo oldInfo = info(fileId);

                    if (oldInfo == null)
                        throw new GridGgfsFileNotFoundException("Failed to unlock file (file not found): " + fileId);

                    if (!info.lockId().equals(oldInfo.lockId()))
                        throw new GridException("Failed to unlock file (inconsistent file lock ID) [fileId=" + fileId +
                            ", lockId=" + info.lockId() + ", actualLockId=" + oldInfo.lockId() + ']');

                    GridGgfsFileInfo newInfo = new GridGgfsFileInfo(oldInfo, null, modificationTime);
View Full Code Here

Examples of org.gridgain.grid.kernal.processors.ggfs.GridGgfsFileInfo.lockId()

                    if (oldInfo == null)
                        throw new GridGgfsFileNotFoundException("Failed to unlock file (file not found): " + fileId);

                    if (!info.lockId().equals(oldInfo.lockId()))
                        throw new GridException("Failed to unlock file (inconsistent file lock ID) [fileId=" + fileId +
                            ", lockId=" + info.lockId() + ", actualLockId=" + oldInfo.lockId() + ']');

                    GridGgfsFileInfo newInfo = new GridGgfsFileInfo(oldInfo, null, modificationTime);

                    boolean put = metaCache.putx(fileId, newInfo);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.