Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add some useful types to ns_common.hrl

Change-Id: I0d3f33eae56ce29fab846c445fd07d6faa75c696
Reviewed-on: http://review.northscale.com/3199
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  • Loading branch information...
commit 53da2a7b94e4b22193242251f95b1f1cff45cc74 1 parent 782cfa5
@seanlynch seanlynch authored alk committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  include/ns_common.hrl
View
2  include/ns_common.hrl
@@ -19,6 +19,8 @@
-type histogram() :: [{atom(), non_neg_integer()}].
-type map() :: [[atom(), ...], ...].
-type moves() :: [{non_neg_integer(), atom(), atom()}].
+-type bucket_name() :: nonempty_string().
+-type bucket_type() :: memcached | membase.
-define(LOG(Fun, Format, Args),
Please sign in to comment.
Something went wrong with that request. Please try again.