com.hazelcast.spi
Interface ManagedService

All Known Implementing Classes:
ClientEngineImpl, ClusterServiceImpl

public interface ManagedService

A interface that can be implemented by a SPI Service to receive lifecycle calls like initialization and shutdown. Also there is a reset: todo: unclear what the purpose of reset is.

Author:
mdogan 7/23/12

Method Summary
 void init(NodeEngine nodeEngine, Properties properties)
          Initializes the ManagedService
 void reset()
          reset service, back to initial state
 void shutdown(boolean terminate)
          Shuts down the ManagedService.
 

Method Detail

init

void init(NodeEngine nodeEngine,
          Properties properties)
Initializes the ManagedService

Parameters:
nodeEngine - the NodeEngine this ManagedService is initialized with.
properties - the Properties

reset

void reset()
reset service, back to initial state


shutdown

void shutdown(boolean terminate)
Shuts down the ManagedService.

Parameters:
terminate -


Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.