class OrientKeyStoreStorageManager extends StateGuardLifecycleSupport implements KeyStoreStorageManager {

  @Guarded(by = STARTED)
  public void save(final OrientKeyStoreData entity) {
    checkNotNull(entity);
    inTxRetry(databaseInstance).run(db -> entityAdapter.save(db, entity));
  }

  @Inject public  OrientKeyStoreStorageManager(@Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance,
                                    final OrientKeyStoreDataEntityAdapter entityAdapter,
                                    final EventManager eventManager);

}