@Test public void getLastMutationHost() throws Exception { when(sanskrit.getString("lastMutationHost")).thenReturn("host"); assertEquals("host", state.getLastMutationHost()); }
@Override public String getLastMutationHost() { return getString(LAST_MUTATION_HOST); }
SanskritNomadServerState implements NomadServerState<NodeContext> { @Override public String getLastMutationHost() { return getString(LAST_MUTATION_HOST); } }
SanskritNomadServerState implements NomadServerState<NodeContext> { @Override public String getLastMutationHost() { return getString(LAST_MUTATION_HOST); } SanskritNomadServerState(Sanskrit sanskrit, ConfigStorage configStorage, HashComputer hashComputer); }
SanskritNomadServerState implements NomadServerState<NodeContext> { @Override public String getLastMutationHost() { return getString(LAST_MUTATION_HOST); } SanskritNomadServerState(Sanskrit sanskrit, ConfigStorage configStorage, HashComputer hashComputer); @Override boolean isInitialized(); @Override NomadServerMode getMode(); @Override long getMutativeMessageCount(); @Override String getLastMutationHost(); @Override String getLastMutationUser(); @Override Instant getLastMutationTimestamp(); @Override UUID getLatestChangeUuid(); @Override long getCurrentVersion(); @Override long getHighestVersion(); @Override ChangeRequest<NodeContext> getChangeRequest(UUID changeUuid); @Override NomadStateChange<NodeContext> newStateChange(); @Override void applyStateChange(NomadStateChange<NodeContext> change); @Override Optional<NodeContext> getCurrentCommittedConfig(); @Override void reset(); }
SanskritNomadServerState implements NomadServerState<NodeContext> { @Override public String getLastMutationHost() { return getString(LAST_MUTATION_HOST); } SanskritNomadServerState(Sanskrit sanskrit, ConfigStorage configStorage, HashComputer hashComputer); @Override boolean isInitialized(); @Override NomadServerMode getMode(); @Override long getMutativeMessageCount(); @Override String getLastMutationHost(); @Override String getLastMutationUser(); @Override Instant getLastMutationTimestamp(); @Override UUID getLatestChangeUuid(); @Override long getCurrentVersion(); @Override long getHighestVersion(); @Override ChangeRequest<NodeContext> getChangeRequest(UUID changeUuid); @Override NomadStateChange<NodeContext> newStateChange(); @Override void applyStateChange(NomadStateChange<NodeContext> change); @Override Optional<NodeContext> getCurrentCommittedConfig(); @Override void reset();  }