public interface Service<S extends Session>
| Modifier and Type | Method and Description |
|---|---|
void |
closeSession(S session)
Close the provided session
Closing the session includes: unregistering from all items, canceling all
running operations
|
|
createSession(java.util.Properties props,
CallbackHandler callbackHandler)
Create a new session for further accessing the hive
|
createSession(java.util.Properties props, CallbackHandler callbackHandler)
props - properties used to create the sessionUnableToCreateSessionException - in the case the session could not be createdvoid closeSession(S session) throws InvalidSessionException
session - the session to closeInvalidSessionException - In the case the session is not a valid session
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0