public StoredChannel store ( DataStore < StoredChannel > dataStore ) throws IOException { lock . lock ( ) ; try { dataStore . set ( getId ( ) , this ) ; return this ; } finally { lock . unlock ( ) ; } }
Stores this notification channel in the given notification channel data store .