public class LiveOnlyActivation extends Activation
Constructor and Description |
---|
LiveOnlyActivation(ActiveMQServerImpl server,
LiveOnlyPolicy liveOnlyPolicy) |
Modifier and Type | Method and Description |
---|---|
void |
close(boolean permanently,
boolean restarting) |
void |
connectToScaleDownTarget(ScaleDownPolicy scaleDownPolicy) |
void |
freezeConnections(RemotingService remotingService) |
void |
postConnectionFreeze() |
void |
run() |
long |
scaleDown() |
createJournalLoader, getActivationChannelHandler, getHAManager, getReplicationManager, haStarted, preStorageClose, sendLiveIsStopping
public LiveOnlyActivation(ActiveMQServerImpl server, LiveOnlyPolicy liveOnlyPolicy)
public void run()
public void close(boolean permanently, boolean restarting) throws Exception
close
in class Activation
Exception
public void freezeConnections(RemotingService remotingService)
freezeConnections
in class Activation
public void postConnectionFreeze()
postConnectionFreeze
in class Activation
public void connectToScaleDownTarget(ScaleDownPolicy scaleDownPolicy)
Copyright © 2018 JBoss by Red Hat. All rights reserved.