APISonar


org.apache.ignite.internal.processors.cache.persistence.diagnostic.pagelocktracker.PageLockDump.time

> org > apache > ignite > internal > processors > cache > persistence > diagnostic > pagelocktracker > PageLockDump > time
org APIs apache APIs ignite APIs internal APIs processors APIs cache APIs persistence APIs diagnostic APIs pagelocktracker APIs PageLockDump APIs time APIs

Example 1
public static String toFileDump(PageLockDump pageLockDump, File dir, String name) throws IgniteCheckedException {
        try {
           if (!dir.exists())
               dir.mkdirs();

            File file = new File(dir, PREFIX_NAME + name + "_" + DATE_FMT.format(new Date(pageLockDump.time())));

            return saveToFile(ToStringDumpProcessor.toStringDump(pageLockDump), file);
        }
        catch (IOException e) {
            throw new IgniteCheckedException(e);
        }
    }