Author: jbellis Date: Thu Dec 1 21:30:26 2011 New Revision: 1209254 URL: http://svn.apache.org/viewvc?rev=1209254&view=rev Log: name our shutdown hook thread patch by jbellis
Modified: cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/service/StorageService.java Modified: cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/service/StorageService.java URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/service/StorageService.java?rev=1209254&r1=1209253&r2=1209254&view=diff ============================================================================== --- cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/service/StorageService.java (original) +++ cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/service/StorageService.java Thu Dec 1 21:30:26 2011 @@ -453,7 +453,7 @@ public class StorageService implements I if (!tasks.awaitTermination(1, TimeUnit.MINUTES)) logger_.warn("Miscellaneous task executor still busy after one minute; proceeding with shutdown"); } - }); + }, "StorageServiceShutdownHook"); Runtime.getRuntime().addShutdownHook(drainOnShutdown); if (Boolean.parseBoolean(System.getProperty("cassandra.join_ring", "true")))