public class ClusterHelper extends Object
Constructor and Description |
---|
ClusterHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
clearProjectCaches(Connection connection,
long projectId)
Clear cached resources on a cluster node.
|
static void |
clearProjectCaches(Connection connection,
String clusterNodeName,
long projectId)
Clear cached resources on a cluster node.
|
public static void clearProjectCaches(@NotNull Connection connection, @NotNull String clusterNodeName, long projectId) throws IOException
connection
- the connection to the FirstSpirit serverprojectId
- the project idIOException
- thrown if an error occured during communication with the cluster nodepublic static void clearProjectCaches(@NotNull Connection connection, long projectId) throws IOException
connection
- the connection to the FirstSpirit serverprojectId
- the project idIOException
- thrown if an error occured during communication with the cluster nodeCopyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500