
com.graphaware.runtime.module.RuntimeModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of runtime-api Show documentation
Show all versions of runtime-api Show documentation
Runtime for GraphAware Runtime Modules
The newest version!
/*
* Copyright (c) 2013-2020 GraphAware
*
* This file is part of the GraphAware Framework.
*
* GraphAware Framework is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of
* the GNU General Public License along with this program. If not, see
* .
*/
package com.graphaware.runtime.module;
/**
* A module performing some useful work on the graph in the background, being delegated to by {@link com.graphaware.runtime.GraphAwareRuntime}.
*/
public interface RuntimeModule {
/**
* Get a human-readable (ideally short) ID of this module. This ID must be unique across all {@link RuntimeModule}s
* used in a single {@link com.graphaware.runtime.GraphAwareRuntime} instance.
*
* @return short ID of this module.
*/
String getId();
/**
* Perform cleanup if needed before database shutdown.
*/
void shutdown();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy