You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by gd...@apache.org on 2010/02/04 16:41:31 UTC
svn commit: r906528 -
/incubator/cassandra/trunk/test/unit/org/apache/cassandra/service/StorageServiceAccessor.java
Author: gdusbabek
Date: Thu Feb 4 15:41:31 2010
New Revision: 906528
URL: http://svn.apache.org/viewvc?rev=906528&view=rev
Log:
missing file intended for r906521. CASSANDRA-620
Added:
incubator/cassandra/trunk/test/unit/org/apache/cassandra/service/StorageServiceAccessor.java
Added: incubator/cassandra/trunk/test/unit/org/apache/cassandra/service/StorageServiceAccessor.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/test/unit/org/apache/cassandra/service/StorageServiceAccessor.java?rev=906528&view=auto
==============================================================================
--- incubator/cassandra/trunk/test/unit/org/apache/cassandra/service/StorageServiceAccessor.java (added)
+++ incubator/cassandra/trunk/test/unit/org/apache/cassandra/service/StorageServiceAccessor.java Thu Feb 4 15:41:31 2010
@@ -0,0 +1,29 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.cassandra.service;
+
+import org.apache.cassandra.locator.TokenMetadata;
+
+public class StorageServiceAccessor
+{
+ public static TokenMetadata setTokenMetadata(TokenMetadata tmd)
+ {
+ return StorageService.instance.setTokenMetadataUnsafe(tmd);
+ }
+}