Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2011-02-24 18:51:08 +0000
committerRyan D. Brooks2011-02-24 18:51:08 +0000
commit363cecbc0708c92dcd73659de3a95e92c2196842 (patch)
tree3cebbc31e8ae75cd17c96bc78a88d57f10e84ffb /plugins/org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/ServerAdminCommandProvider.java
parent9e9fe5948bb7665baeede0cb076bc5e345467307 (diff)
downloadorg.eclipse.osee-363cecbc0708c92dcd73659de3a95e92c2196842.tar.gz
org.eclipse.osee-363cecbc0708c92dcd73659de3a95e92c2196842.tar.xz
org.eclipse.osee-363cecbc0708c92dcd73659de3a95e92c2196842.zip
refactor: Remove redundant osgi GarbageCollectionCommand
Diffstat (limited to 'plugins/org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/ServerAdminCommandProvider.java')
-rw-r--r--plugins/org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/ServerAdminCommandProvider.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/ServerAdminCommandProvider.java b/plugins/org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/ServerAdminCommandProvider.java
index 5843d1b15cc..abfdf214da4 100644
--- a/plugins/org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/ServerAdminCommandProvider.java
+++ b/plugins/org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/ServerAdminCommandProvider.java
@@ -21,7 +21,6 @@ import org.eclipse.osee.framework.core.operation.Operations;
import org.eclipse.osee.framework.server.admin.internal.Activator;
import org.eclipse.osee.framework.server.admin.management.AdminCommands;
import org.eclipse.osee.framework.server.admin.management.ConsolidateArtifactVersionsCommand;
-import org.eclipse.osee.framework.server.admin.management.GarbageCollectionCommand;
import org.eclipse.osee.framework.server.admin.management.SchedulingCommand;
import org.eclipse.osgi.framework.console.CommandInterpreter;
import org.eclipse.osgi.framework.console.CommandProvider;
@@ -69,10 +68,6 @@ public class ServerAdminCommandProvider implements CommandProvider {
return Operations.executeAsJob(new ConsolidateArtifactVersionsCommand(ci), false);
}
- public Job _gc(CommandInterpreter ci) {
- return Operations.executeAsJob(new GarbageCollectionCommand(ci), false);
- }
-
public Job _schedule(CommandInterpreter ci) {
return Operations.executeAsJob(new SchedulingCommand(ci), false);
}
@@ -107,7 +102,6 @@ public class ServerAdminCommandProvider implements CommandProvider {
sb.append(" tx_currents [true | false] - detect and fix tx current and mod types inconsistencies on archive txs or txs\n");
sb.append(" duplicate_attr - detect and fix duplicate attributes\n");
sb.append(" osee_shutdown [-oseeOnly] - immediately release the listening port then waits for all existing operations to finish. \n");
- sb.append(" gc - run java garbage collecction\n");
sb.append(" schedule <delay seconds> <iterations> <command> - runs the command after the specified delay and repeat given number of times\n");
sb.append(String.format(" reload_cache %s? - reloads server caches\n",
Arrays.deepToString(OseeCacheEnum.values()).replaceAll(",", " | ")));

Back to the top