Source:
protected void initializeOmTables() throws IOException { userTable = this.store.getTable(USER_TABLE, String.class, VolumeList.class); checkTableStatus(userTable, USER_TABLE); TableCacheImpl.CacheCleanupPolicy cleanupPolicy; if (isRatisEnabled) { cleanupPolicy = TableCacheImpl.CacheCleanupPolicy.NEVER; } else { cleanupPolicy = TableCacheImpl.CacheCleanupPolicy.MANUAL; } volumeTable = this.store.getTable(VOLUME_TABLE, String.class, OmVolumeArgs.class, cleanupPolicy); checkTableStatus(volumeTable, VOLUME_TABLE); bucketTable = this.store.getTable(BUCKET_TABLE, String.class, OmBucketInfo.class, cleanupPolicy); checkTableStatus(bucketTable, BUCKET_TABLE); keyTable = this.store.getTable(KEY_TABLE, String.class, OmKeyInfo.class); checkTableStatus(keyTable, KEY_TABLE); deletedTable = this.store.getTable(DELETED_TABLE, String.class, OmKeyInfo.class); checkTableStatus(deletedTable, DELETED_TABLE); openKeyTable = this.store.getTable(OPEN_KEY_TABLE, String.class, OmKeyInfo.class); checkTableStatus(openKeyTable, OPEN_KEY_TABLE); s3Table = this.store.getTable(S3_TABLE, String.class, String.class); checkTableStatus(s3Table, S3_TABLE); multipartInfoTable = this.store.getTable(MULTIPARTINFO_TABLE, String.class, OmMultipartKeyInfo.class); checkTableStatus(multipartInfoTable, MULTIPARTINFO_TABLE); dTokenTable = this.store.getTable(DELEGATION_TOKEN_TABLE, OzoneTokenIdentifier.class, Long.class); checkTableStatus(dTokenTable, DELEGATION_TOKEN_TABLE); s3SecretTable = this.store.getTable(S3_SECRET_TABLE, String.class, S3SecretValue.class); checkTableStatus(s3SecretTable, S3_SECRET_TABLE); prefixTable = this.store.getTable(PREFIX_TABLE, String.class, OmPrefixInfo.class); checkTableStatus(prefixTable, PREFIX_TABLE); }

Target:
protected void initializeOmTables() throws IOException { userTable = this.store.getTable(USER_TABLE, String.class, VolumeList.class); checkTableStatus(userTable, USER_TABLE); TableCacheImpl.CacheCleanupPolicy cleanupPolicy = isRatisEnabled ? TableCacheImpl.CacheCleanupPolicy.NEVER : TableCacheImpl.CacheCleanupPolicy.MANUAL; volumeTable = this.store.getTable(VOLUME_TABLE, String.class, OmVolumeArgs.class, cleanupPolicy); checkTableStatus(volumeTable, VOLUME_TABLE); bucketTable = this.store.getTable(BUCKET_TABLE, String.class, OmBucketInfo.class, cleanupPolicy); checkTableStatus(bucketTable, BUCKET_TABLE); keyTable = this.store.getTable(KEY_TABLE, String.class, OmKeyInfo.class); checkTableStatus(keyTable, KEY_TABLE); deletedTable = this.store.getTable(DELETED_TABLE, String.class, OmKeyInfo.class); checkTableStatus(deletedTable, DELETED_TABLE); openKeyTable = this.store.getTable(OPEN_KEY_TABLE, String.class, OmKeyInfo.class); checkTableStatus(openKeyTable, OPEN_KEY_TABLE); s3Table = this.store.getTable(S3_TABLE, String.class, String.class); checkTableStatus(s3Table, S3_TABLE); multipartInfoTable = this.store.getTable(MULTIPARTINFO_TABLE, String.class, OmMultipartKeyInfo.class); checkTableStatus(multipartInfoTable, MULTIPARTINFO_TABLE); dTokenTable = this.store.getTable(DELEGATION_TOKEN_TABLE, OzoneTokenIdentifier.class, Long.class); checkTableStatus(dTokenTable, DELEGATION_TOKEN_TABLE); s3SecretTable = this.store.getTable(S3_SECRET_TABLE, String.class, S3SecretValue.class); checkTableStatus(s3SecretTable, S3_SECRET_TABLE); prefixTable = this.store.getTable(PREFIX_TABLE, String.class, OmPrefixInfo.class); checkTableStatus(prefixTable, PREFIX_TABLE); }