Examples of Cleanable


Examples of org.apache.ivyde.eclipse.ui.menu.CleanCacheAction.Cleanable

        addCleanable(menuManager, items, "Clean all caches", allCleanables);
        addCleanable(menuManager, items, "Clean the resolution cache", resolutionCleanables);
        addCleanable(menuManager, items, "Clean every repository cache", repositoryCleanables);
        Iterator itCleanble = resolutionCleanables.iterator();
        while (itCleanble.hasNext()) {
            Cleanable cleanable = (Cleanable) itCleanble.next();
            addCleanable(menuManager, items, "Clean the cache '" + cleanable.getName() + "'",
                Collections.singletonList(cleanable));
        }
    }
View Full Code Here

Examples of org.apache.ivyde.internal.eclipse.ui.menu.CleanCacheAction.Cleanable

        addCleanable(menuManager, items, "Clean all caches", allCleanables);
        addCleanable(menuManager, items, "Clean the resolution cache", resolutionCleanables);
        addCleanable(menuManager, items, "Clean every repository cache", repositoryCleanables);
        Iterator itCleanble = resolutionCleanables.iterator();
        while (itCleanble.hasNext()) {
            Cleanable cleanable = (Cleanable) itCleanble.next();
            addCleanable(menuManager, items, "Clean the cache '" + cleanable.getName() + "'",
                Collections.singletonList(cleanable));
        }
    }
View Full Code Here

Examples of org.openquark.cal.runtime.Cleanable

     */
    public final void registerCleanable(final CalFunction /* ()->() */cleanupFunction) {
        if (cleanupFunction == null) {
            throw new NullPointerException();
        }
        registerCleanable(new Cleanable() {
            public void cleanup() {
                // Invoke the CAL cleanup function.
                // The argument value will be ingored anyway.
                cleanupFunction.evaluate(UnitValue.UNIT);
            }
View Full Code Here

Examples of org.slim3.util.Cleanable

    static {
        initialize();
    }

    private static void initialize() {
        Cleaner.add(new Cleanable() {
            public void clean() {
                modelMetaCache.clear();
                initialized = false;
            }
        });
View Full Code Here

Examples of org.slim3.util.Cleanable

    static {
        initialize();
    }

    private static void initialize() {
        Cleaner.add(new Cleanable() {
            public void clean() {
                modelMetaCache.clear();
                initialized = false;
            }
        });
View Full Code Here

Examples of org.slim3.util.Cleanable

    static {
        initialize();
    }

    private static void initialize() {
        Cleaner.add(new Cleanable() {
            public void clean() {
                modelMetaCache.clear();
                initialized = false;
            }
        });
View Full Code Here

Examples of org.slim3.util.Cleanable

    static {
        initialize();
    }

    private static void initialize() {
        Cleaner.add(new Cleanable() {
            public void clean() {
                modelMetaCache.clear();
                initialized = false;
            }
        });
View Full Code Here

Examples of org.slim3.util.Cleanable

    static {
        initialize();
    }

    private static void initialize() {
        Cleaner.add(new Cleanable() {
            public void clean() {
                modelMetaCache.clear();
                initialized = false;
            }
        });
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.