public int insert(Database database,String shardName,int channelNumber) throws SQLException {
  shardId.setValue(shardName);
  channel.setValue(channelNumber);
  return database.insert(channelTable);
}

public int insert ( Database database , String shardName , int channelNumber ) throws SQLException { shardId . setValue ( shardName ) ; channel . setValue ( channelNumber ) ; return database . insert ( channelTable ) ; }
insert a shard / channel assignment into the database .
