congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ServerInstanceDisconnected.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.kie.server.controller.api.model.events.ServerInstanceDisconnected
constructor

Best Java code snippets using org.kie.server.controller.api.model.events.ServerInstanceDisconnected.<init> (Showing top 8 results out of 315)

origin: org.kie.server/kie-server-controller-client

@Test
public void testServerInstanceDisconnected() {
  handler.accept(new ServerInstanceDisconnected("serverId"));
  verify(eventHandler).onServerInstanceDisconnected(any());
  verifyNoMoreInteractions(eventHandler);
}
origin: org.kie.server/kie-server-controller-impl

protected void notifyOnDisconnect(ServerInstanceKey serverInstanceKey, ServerTemplate serverTemplate) {
  notificationService.notify(new ServerInstanceDeleted(serverInstanceKey.getServerInstanceId()));
  notificationService.notify(new ServerTemplateUpdated(serverTemplate));
  notificationService.notify(new ServerInstanceDisconnected(serverInstanceKey.getServerInstanceId()));
}

origin: org.kie.server/kie-server-controller-websocket

@Test
public void testServerInstanceDisconnected() throws Exception {
  final ServerInstanceDisconnected event = new ServerInstanceDisconnected("serverId");
  notificationService.notify(event);
  verify(endpoint,
      timeout(TIMEOUT)).sendObject(new KieServerControllerNotification(event));
}
origin: org.kie.server/kie-server-controller-websocket-common

@Parameterized.Parameters(name = "{index}: {0}")
public static Collection<Object[]> data() {
  Collection<Object[]> parameterData = new ArrayList<Object[]>(Arrays.asList(new Object[][]{
                                            {new ServerInstanceConnected(new ServerInstance())},
                                            {new ServerInstanceDisconnected("serverId")},
                                            {new ServerInstanceDeleted("serverId")},
                                            {new ServerInstanceUpdated(new ServerInstance())},
                                            {new ServerTemplateUpdated(new ServerTemplate())},
                                            {new ServerTemplateDeleted("serverTemplateId")},
                                            {new ContainerSpecUpdated(new ServerTemplate(),
                                                         new ContainerSpec(),
                                                         new ArrayList<>())}
                                        }
  ));
  return parameterData;
}
origin: kiegroup/jbpm-wb

assertNotNull(kieServerIntegration.getServerInstancesById().get(serverInstanceId1));
kieServerIntegration.onServerInstanceDisconnected(new ServerInstanceDisconnected(serverInstanceId1));
assertNotNull(kieServerIntegration.getServerInstancesById().get(serverInstanceId2));
kieServerIntegration.onServerInstanceDisconnected(new ServerInstanceDisconnected(serverInstanceId2));
origin: org.jbpm/jbpm-wb-kie-server-backend

assertNotNull(kieServerIntegration.getServerInstancesById().get(serverInstanceId1));
kieServerIntegration.onServerInstanceDisconnected(new ServerInstanceDisconnected(serverInstanceId1));
assertNotNull(kieServerIntegration.getServerInstancesById().get(serverInstanceId2));
kieServerIntegration.onServerInstanceDisconnected(new ServerInstanceDisconnected(serverInstanceId2));
origin: kiegroup/jbpm-wb

assertNotNull(kieServerIntegration.getServerInstancesById().get(serverInstanceId1));
kieServerIntegration.onServerInstanceDisconnected(new ServerInstanceDisconnected(serverInstanceId1));
assertNotNull(kieServerIntegration.getServerInstancesById().get(serverInstanceId2));
kieServerIntegration.onServerInstanceDisconnected(new ServerInstanceDisconnected(serverInstanceId2));
origin: org.jbpm/jbpm-wb-kie-server-backend

assertNotNull(kieServerIntegration.getServerInstancesById().get(serverInstanceId1));
kieServerIntegration.onServerInstanceDisconnected(new ServerInstanceDisconnected(serverInstanceId1));
assertNotNull(kieServerIntegration.getServerInstancesById().get(serverInstanceId2));
kieServerIntegration.onServerInstanceDisconnected(new ServerInstanceDisconnected(serverInstanceId2));
org.kie.server.controller.api.model.eventsServerInstanceDisconnected<init>

Popular methods of ServerInstanceDisconnected

  • getServerInstanceId

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • setScale (BigDecimal)
  • findViewById (Activity)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Option (scala)
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now