All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.hajdbc.state.distributed.DistributedManager Maven / Gradle / Ivy

There is a newer version: 3.6.61
Show newest version
package net.sf.hajdbc.state.distributed;

import java.util.List;
import java.util.Map;
import net.sf.hajdbc.Database;
import net.sf.hajdbc.distributed.Command;
import net.sf.hajdbc.distributed.Member;
import net.sf.hajdbc.distributed.MembershipListener;

public interface DistributedManager> {
  void addMembershipListener(MembershipListener listener);
  void removeMembershipListener(MembershipListener listener);
  Member getLocal();
  String getLocalIp();
  Member getCoordinator();
  List getMembers();
  Member getMember(String ip);
   Map executeAll(Command> command,
      Member... excludedMembers);
   R execute(Command> command, Member member);
   C getExtContext(String key);
   C removeExtContext(String key);
   void setExtContext(String key, C context);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy