implement SwatDBCacheNsFlushable

Refs silverorange/swat#18