Browse files

added more methods as obsolete

  • Loading branch information...
1 parent 3bb3dc8 commit b94c72032888ddc2ecc9c3c36be0e461ae530196 @nberardi nberardi committed Jan 2, 2013
View
3 src/Apache/Cassandra/Cassandra.cs
@@ -443,6 +443,7 @@ public interface Iface {
/// @deprecated This is now a no-op. Please use the CQL3 specific methods instead.
/// </summary>
/// <param name="version"></param>
+ [Obsolete("This is now a no-op. Please use the CQL3 specific methods instead.", error: true)]
void set_cql_version(string version);
#if SILVERLIGHT
IAsyncResult Begin_set_cql_version(AsyncCallback callback, object state, string version);
@@ -1196,6 +1197,7 @@ public List<KeySlice> End_get_indexed_slices(IAsyncResult asyncResult)
/// <param name="index_clause"></param>
/// <param name="column_predicate"></param>
/// <param name="consistency_level"></param>
+ [Obsolete("use get_range_slices instead with range.row_filter specified", error: false)]
public List<KeySlice> get_indexed_slices(ColumnParent column_parent, IndexClause index_clause, SlicePredicate column_predicate, ConsistencyLevel consistency_level)
{
#if !SILVERLIGHT
@@ -3526,6 +3528,7 @@ public void End_set_cql_version(IAsyncResult asyncResult)
/// @deprecated This is now a no-op. Please use the CQL3 specific methods instead.
/// </summary>
/// <param name="version"></param>
+ [Obsolete("This is now a no-op. Please use the CQL3 specific methods instead.", error: true)]
public void set_cql_version(string version)
{
#if !SILVERLIGHT
View
52 src/Apache/Cassandra/CfDef.cs
@@ -345,6 +345,7 @@ public double Dclocal_read_repair_chance
/// <summary>
/// @deprecated
/// </summary>
+ [Obsolete("in Cassandra 1.2", error: false)]
public double Row_cache_size
{
get
@@ -361,6 +362,7 @@ public double Row_cache_size
/// <summary>
/// @deprecated
/// </summary>
+ [Obsolete("in Cassandra 1.2", error: false)]
public double Key_cache_size
{
get
@@ -377,6 +379,7 @@ public double Key_cache_size
/// <summary>
/// @deprecated
/// </summary>
+ [Obsolete("in Cassandra 1.2", error: false)]
public int Row_cache_save_period_in_seconds
{
get
@@ -390,9 +393,10 @@ public int Row_cache_save_period_in_seconds
}
}
- /// <summary>
- /// @deprecated
- /// </summary>
+ /// <summary>
+ /// @deprecated
+ /// </summary>
+ [Obsolete("in Cassandra 1.2", error: false)]
public int Key_cache_save_period_in_seconds
{
get
@@ -406,9 +410,10 @@ public int Key_cache_save_period_in_seconds
}
}
- /// <summary>
- /// @deprecated
- /// </summary>
+ /// <summary>
+ /// @deprecated
+ /// </summary>
+ [Obsolete("in Cassandra 1.2", error: false)]
public int Memtable_flush_after_mins
{
get
@@ -422,9 +427,10 @@ public int Memtable_flush_after_mins
}
}
- /// <summary>
- /// @deprecated
- /// </summary>
+ /// <summary>
+ /// @deprecated
+ /// </summary>
+ [Obsolete("in Cassandra 1.2", error: false)]
public int Memtable_throughput_in_mb
{
get
@@ -438,9 +444,10 @@ public int Memtable_throughput_in_mb
}
}
- /// <summary>
- /// @deprecated
- /// </summary>
+ /// <summary>
+ /// @deprecated
+ /// </summary>
+ [Obsolete("in Cassandra 1.2", error: false)]
public double Memtable_operations_in_millions
{
get
@@ -454,9 +461,10 @@ public double Memtable_operations_in_millions
}
}
- /// <summary>
- /// @deprecated
- /// </summary>
+ /// <summary>
+ /// @deprecated
+ /// </summary>
+ [Obsolete("in Cassandra 1.2", error: false)]
public double Merge_shards_chance
{
get
@@ -470,9 +478,10 @@ public double Merge_shards_chance
}
}
- /// <summary>
- /// @deprecated
- /// </summary>
+ /// <summary>
+ /// @deprecated
+ /// </summary>
+ [Obsolete("in Cassandra 1.2", error: false)]
public string Row_cache_provider
{
get
@@ -486,9 +495,10 @@ public string Row_cache_provider
}
}
- /// <summary>
- /// @deprecated
- /// </summary>
+ /// <summary>
+ /// @deprecated
+ /// </summary>
+ [Obsolete("in Cassandra 1.2", error: false)]
public int Row_cache_keys_to_save
{
get
View
2 src/Apache/Cassandra/KsDef.cs
@@ -72,7 +72,7 @@ public string Strategy_class
/// <summary>
/// @deprecated ignored
/// </summary>
- [Obsolete("ignored by Cassandra 1.2", error:false)]
+ [Obsolete("ignored by Cassandra 1.2", error:false)]
public int Replication_factor
{
get
View
2 src/Operations/CassandraClientWrapper.cs
@@ -5,7 +5,7 @@
namespace FluentCassandra.Operations
{
- public class CassandraClientWrapper : Apache.Cassandra.Cassandra.Iface
+ public class CassandraClientWrapper //: Apache.Cassandra.Cassandra.Iface
{
private readonly Apache.Cassandra.Cassandra.Iface _client;

0 comments on commit b94c720

Please sign in to comment.