Permalink
Browse files

added call to connection manager's shutdown

  • Loading branch information...
1 parent d197a7b commit e41b4c31d9756a6b29f0a383dff173fad4a07b00 zznate committed Nov 23, 2010
View
1 src/main/java/com/riptano/cassandra/hector/example/GetIndexedSlices.java
@@ -56,5 +56,6 @@ public static void main(String[] args) throws Exception {
} catch (HectorException he) {
he.printStackTrace();
}
+ cluster.getConnectionManager().shutdown();
}
}
View
1 src/main/java/com/riptano/cassandra/hector/example/GetRangeSlicesKeysOnly.java
@@ -63,6 +63,7 @@ public static void main(String[] args) throws Exception {
} catch (HectorException he) {
he.printStackTrace();
}
+ cluster.getConnectionManager().shutdown();
}
}
View
4 src/main/java/com/riptano/cassandra/hector/example/InsertSingleColumn.java
@@ -42,6 +42,8 @@ public static void main(String[] args) throws Exception {
} catch (HectorException e) {
e.printStackTrace();
- }
+ }
+ cluster.getConnectionManager().shutdown();
}
+
}
View
2 src/main/java/com/riptano/cassandra/hector/example/InsertSuperColumn.java
@@ -58,7 +58,7 @@ public static void main(String[] args) throws Exception {
} catch (HectorException e) {
e.printStackTrace();
}
-
+ cluster.getConnectionManager().shutdown();
}
}
View
1 src/main/java/com/riptano/cassandra/hector/example/MultigetSliceRetrieval.java
@@ -65,6 +65,7 @@ public static void main(String[] args) throws Exception {
} catch (HectorException he) {
he.printStackTrace();
}
+ cluster.getConnectionManager().shutdown();
}
}
View
1 src/main/java/com/riptano/cassandra/hector/example/PaginateGetRangeSlices.java
@@ -72,6 +72,7 @@ public static void main(String[] args) throws Exception {
} catch (HectorException he) {
he.printStackTrace();
}
+ cluster.getConnectionManager().shutdown();
}
}
View
1 src/main/java/com/riptano/cassandra/hector/example/ResultDetailsDemo.java
@@ -62,5 +62,6 @@ public static void main(String[] args) throws Exception {
} catch (HectorException he) {
he.printStackTrace();
}
+ cluster.getConnectionManager().shutdown();
}
}
View
2 src/main/java/com/riptano/cassandra/hector/example/TombstonedGetRangeSlices.java
@@ -87,6 +87,6 @@ public static void main(String[] args) throws Exception {
} catch (HectorException he) {
he.printStackTrace();
}
-
+ cluster.getConnectionManager().shutdown();
}
}

0 comments on commit e41b4c3

Please sign in to comment.