Skip to content

Commit

Permalink
Marked NodesDescription class to be removed in future PCJ release.
Browse files Browse the repository at this point in the history
  • Loading branch information
faramir committed Dec 21, 2022
1 parent c4907ec commit 77241fb
Showing 1 changed file with 3 additions and 37 deletions.
40 changes: 3 additions & 37 deletions src/main/java/org/pcj/NodesDescription.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
import java.io.IOException;

/**
* File representing list of available nodes (eg. from scheduling system).
* This class will be removed.
* <p>
* File representing list of available nodes (e.g. from scheduling system).
*
* <b>This is only a fake class for
* {@link PCJ#start(Class, NodesDescription)}
Expand Down Expand Up @@ -68,40 +70,4 @@ public NodesDescription(String[] nodes) {
protected String[] getNodes() {
return nodes;
}

// /**
// * Always throws exception.
// *
// * @throws UnsupportedOperationException
// */
// public NodeInfo getNode0() {
// throw new UnsupportedOperationException("Deprecated. For removal.");
// }
//
// /**
// * Always throws exception.
// *
// * @throws UnsupportedOperationException
// */
// public NodeInfo getCurrentJvm() {
// throw new UnsupportedOperationException("Deprecated. For removal.");
// }
//
// /**
// * Always throws exception.
// *
// * @throws UnsupportedOperationException
// */
// public Collection<NodeInfo> getAllNodes() {
// throw new UnsupportedOperationException("Deprecated. For removal.");
// }
//
// /**
// * Always throws exception.
// *
// * @throws UnsupportedOperationException
// */
// public int getAllNodesThreadCount() {
// throw new UnsupportedOperationException("Deprecated. For removal.");
// }
}

0 comments on commit 77241fb

Please sign in to comment.