Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W 

A

accept(long) - Method in class com.fnproject.fn.runtime.ntv.UnixServerSocket
 
addInputCoercion(InputCoercion) - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
addInvoker(FunctionInvoker, FunctionInvoker.Phase) - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
addListener(InvocationListener) - Method in class com.fnproject.fn.runtime.FunctionInvocationContext
 
addOutputCoercion(OutputCoercion) - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
addResponseHeader(String, String) - Method in class com.fnproject.fn.runtime.FunctionInvocationContext
 
addResponseHeader(String, String) - Method in class com.fnproject.fn.runtime.httpgateway.FunctionHTTPGatewayContext
 

B

bind(SocketAddress) - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
ByteArrayCoercion - Class in com.fnproject.fn.runtime.coercion
Handles coercion to and from byte arrays.
ByteArrayCoercion() - Constructor for class com.fnproject.fn.runtime.coercion.ByteArrayCoercion
 

C

close() - Method in class com.fnproject.fn.runtime.HTTPStreamCodec
 
close() - Method in class com.fnproject.fn.runtime.ntv.UnixServerSocket
 
close() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
close() - Method in class com.fnproject.fn.runtime.ReadOnceInputEvent
 
coerceParameters(InvocationContext, MethodWrapper, InputEvent) - Method in class com.fnproject.fn.runtime.MethodFunctionInvoker
 
coerceReturnValue(InvocationContext, MethodWrapper, Object) - Method in class com.fnproject.fn.runtime.MethodFunctionInvoker
 
com.fnproject.fn.runtime - package com.fnproject.fn.runtime
 
com.fnproject.fn.runtime.coercion - package com.fnproject.fn.runtime.coercion
 
com.fnproject.fn.runtime.coercion.jackson - package com.fnproject.fn.runtime.coercion.jackson
 
com.fnproject.fn.runtime.exception - package com.fnproject.fn.runtime.exception
 
com.fnproject.fn.runtime.httpgateway - package com.fnproject.fn.runtime.httpgateway
 
com.fnproject.fn.runtime.ntv - package com.fnproject.fn.runtime.ntv
 
com.fnproject.fn.runtime.tracing - package com.fnproject.fn.runtime.tracing
 
configure(FunctionRuntimeContext) - Method in class com.fnproject.fn.runtime.FunctionConfigurer
create a function runtime context for a given class and method name
connect(String) - Static method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
connect(SocketAddress) - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
connect(SocketAddress, int) - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
consumeBody(Function<InputStream, T>) - Method in class com.fnproject.fn.runtime.ReadOnceInputEvent
Consume the input stream of this event - This may be done exactly once per event
ContextCoercion - Class in com.fnproject.fn.runtime.coercion
Handles coercion to build in context objects (RuntimeContext, InvocationContext , HTTPGatewayContext)
ContextCoercion() - Constructor for class com.fnproject.fn.runtime.coercion.ContextCoercion
 

D

DefaultMethodWrapper - Class in com.fnproject.fn.runtime
Wrapper class around Method to provide type resolution for methods with generic arguments

E

EntryPoint - Class in com.fnproject.fn.runtime
Main entry point
EntryPoint() - Constructor for class com.fnproject.fn.runtime.EntryPoint
 
EventCodec - Interface in com.fnproject.fn.runtime
Event Codec - deals with different calling conventions between fn and the function docker container
EventCodec.Handler - Interface in com.fnproject.fn.runtime
Handler handles function content based on codec events

F

FDK_VERSION - Static variable in class com.fnproject.fn.runtime.Version
 
fireOnFailedInvocation() - Method in interface com.fnproject.fn.runtime.FunctionInvocationCallback
 
fireOnFailedInvocation() - Method in class com.fnproject.fn.runtime.FunctionInvocationContext
 
fireOnSuccessfulInvocation() - Method in interface com.fnproject.fn.runtime.FunctionInvocationCallback
 
fireOnSuccessfulInvocation() - Method in class com.fnproject.fn.runtime.FunctionInvocationContext
 
fromParameter(MethodWrapper, int) - Static method in class com.fnproject.fn.runtime.MethodTypeWrapper
 
fromReturnType(MethodWrapper) - Static method in class com.fnproject.fn.runtime.MethodTypeWrapper
 
FunctionClassInstantiationException - Exception in com.fnproject.fn.runtime.exception
 
FunctionClassInstantiationException(String, Throwable) - Constructor for exception com.fnproject.fn.runtime.exception.FunctionClassInstantiationException
 
FunctionClassInstantiationException(String) - Constructor for exception com.fnproject.fn.runtime.exception.FunctionClassInstantiationException
 
FunctionConfigurer - Class in com.fnproject.fn.runtime
Loads function entry points based on their class name and method name creating a FunctionRuntimeContext
FunctionConfigurer() - Constructor for class com.fnproject.fn.runtime.FunctionConfigurer
 
FunctionHTTPGatewayContext - Class in com.fnproject.fn.runtime.httpgateway
Created on 19/09/2018.
FunctionHTTPGatewayContext(InvocationContext) - Constructor for class com.fnproject.fn.runtime.httpgateway.FunctionHTTPGatewayContext
 
FunctionInitializationException - Exception in com.fnproject.fn.runtime.exception
The FDK was not able to start up
FunctionInitializationException(String, Throwable) - Constructor for exception com.fnproject.fn.runtime.exception.FunctionInitializationException
create a function invocation exception
FunctionInitializationException(String) - Constructor for exception com.fnproject.fn.runtime.exception.FunctionInitializationException
 
FunctionInvocationCallback - Interface in com.fnproject.fn.runtime
 
FunctionInvocationContext - Class in com.fnproject.fn.runtime
Function invocation context implementation, Delegates invocation callbacks to configured listeners
FunctionIOException - Exception in com.fnproject.fn.runtime.exception
The FDK experienced a terminal issue communicating with the platform
FunctionIOException(String, Throwable) - Constructor for exception com.fnproject.fn.runtime.exception.FunctionIOException
create a function invocation exception
FunctionLoader - Class in com.fnproject.fn.runtime
 
FunctionLoader() - Constructor for class com.fnproject.fn.runtime.FunctionLoader
 
FunctionRuntimeContext - Class in com.fnproject.fn.runtime
 
FunctionRuntimeContext(MethodWrapper, Map<String, String>) - Constructor for class com.fnproject.fn.runtime.FunctionRuntimeContext
 

G

get(String) - Method in class com.fnproject.fn.runtime.httpgateway.QueryParametersImpl
 
getAll() - Method in class com.fnproject.fn.runtime.httpgateway.QueryParametersImpl
 
getAppID() - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
getAppName() - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
getAppName() - Method in class com.fnproject.fn.runtime.tracing.OCITracingContext
 
getAttribute(String, Class<T>) - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
getCallID() - Method in class com.fnproject.fn.runtime.ReadOnceInputEvent
 
getCause() - Method in exception com.fnproject.fn.runtime.exception.InternalFunctionInvocationException
 
getConfiguration() - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
getConfigurationByKey(String) - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
getDeadline() - Method in class com.fnproject.fn.runtime.ReadOnceInputEvent
 
getFlags() - Method in class com.fnproject.fn.runtime.tracing.OCITracingContext
 
getFunctionID() - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
getFunctionName() - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
getFunctionName() - Method in class com.fnproject.fn.runtime.tracing.OCITracingContext
 
getHeaders() - Method in class com.fnproject.fn.runtime.httpgateway.FunctionHTTPGatewayContext
 
getHeaders() - Method in class com.fnproject.fn.runtime.ReadOnceInputEvent
 
getInetAddress() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
getInputCoercions(MethodWrapper, int) - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
getInputStream() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
getInvocationContext() - Method in class com.fnproject.fn.runtime.httpgateway.FunctionHTTPGatewayContext
 
getInvocationContext() - Method in class com.fnproject.fn.runtime.tracing.OCITracingContext
 
getInvokeInstance() - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
getLocalAddress() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
getLocalPort() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
getLocalSocketAddress() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
getMethod() - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
getMethod() - Method in class com.fnproject.fn.runtime.httpgateway.FunctionHTTPGatewayContext
 
getMethodWrapper() - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
getOutputCoercions(Method) - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
getOutputStream() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
getParameterClass() - Method in class com.fnproject.fn.runtime.MethodTypeWrapper
 
getParams(String) - Static method in class com.fnproject.fn.runtime.httpgateway.QueryParametersParser
 
getParamType(int) - Method in class com.fnproject.fn.runtime.DefaultMethodWrapper
 
getParentSpanId() - Method in class com.fnproject.fn.runtime.tracing.OCITracingContext
 
getPort() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
getQueryParameters() - Method in class com.fnproject.fn.runtime.httpgateway.FunctionHTTPGatewayContext
 
getRemoteSocketAddress() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
getRequestHeaders() - Method in class com.fnproject.fn.runtime.FunctionInvocationContext
 
getRequestURL() - Method in class com.fnproject.fn.runtime.httpgateway.FunctionHTTPGatewayContext
 
getReturnType() - Method in class com.fnproject.fn.runtime.DefaultMethodWrapper
 
getRuntimeContext() - Method in class com.fnproject.fn.runtime.FunctionInvocationContext
 
getRuntimeContext() - Method in class com.fnproject.fn.runtime.tracing.OCITracingContext
 
getServiceName() - Method in class com.fnproject.fn.runtime.tracing.OCITracingContext
 
getSoTimeout() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
getSpanId() - Method in class com.fnproject.fn.runtime.tracing.OCITracingContext
 
getTargetClass() - Method in class com.fnproject.fn.runtime.DefaultMethodWrapper
 
getTargetMethod() - Method in class com.fnproject.fn.runtime.DefaultMethodWrapper
 
getTraceCollectorURL() - Method in class com.fnproject.fn.runtime.tracing.OCITracingContext
 
getTraceId() - Method in class com.fnproject.fn.runtime.tracing.OCITracingContext
 
getValues(String) - Method in class com.fnproject.fn.runtime.httpgateway.QueryParametersImpl
 

H

handle(InputEvent) - Method in interface com.fnproject.fn.runtime.EventCodec.Handler
Handle a function input event and generate a response
HTTP_STREAM_FORMAT - Static variable in class com.fnproject.fn.runtime.HTTPStreamCodec
 
HTTPStreamCodec - Class in com.fnproject.fn.runtime
Fn HTTP Stream over Unix domain sockets codec

I

InputEventCoercion - Class in com.fnproject.fn.runtime.coercion
 
InputEventCoercion() - Constructor for class com.fnproject.fn.runtime.coercion.InputEventCoercion
 
instance() - Static method in class com.fnproject.fn.runtime.coercion.jackson.JacksonCoercion
Return the global instance of this coercion
InternalFunctionInvocationException - Exception in com.fnproject.fn.runtime.exception
The user's code caused an exception - this carries an elided stack trace of the error with respect to only the user's code.
InternalFunctionInvocationException(String, Throwable) - Constructor for exception com.fnproject.fn.runtime.exception.InternalFunctionInvocationException
create a function invocation exception
InternalFunctionInvocationException(String, Throwable, OutputEvent) - Constructor for exception com.fnproject.fn.runtime.exception.InternalFunctionInvocationException
create a function invocation exception
InvalidEntryPointException - Exception in com.fnproject.fn.runtime.exception
The function entry point spec was malformed.
InvalidEntryPointException(String) - Constructor for exception com.fnproject.fn.runtime.exception.InvalidEntryPointException
 
InvalidEntryPointException(String, Throwable) - Constructor for exception com.fnproject.fn.runtime.exception.InvalidEntryPointException
 
InvalidFunctionDefinitionException - Exception in com.fnproject.fn.runtime.exception
the function definition passed was invalid (e.g.
InvalidFunctionDefinitionException(String, Throwable) - Constructor for exception com.fnproject.fn.runtime.exception.InvalidFunctionDefinitionException
 
InvalidFunctionDefinitionException(String) - Constructor for exception com.fnproject.fn.runtime.exception.InvalidFunctionDefinitionException
 
isBound() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
isClosed() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
isConnected() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
isInputShutdown() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
isOutputShutdown() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
isSampled() - Method in class com.fnproject.fn.runtime.tracing.OCITracingContext
 
isTracingEnabled() - Method in class com.fnproject.fn.runtime.tracing.OCITracingContext
 

J

JacksonCoercion - Class in com.fnproject.fn.runtime.coercion.jackson
Jackson JSON Serialization feature -
JacksonCoercion() - Constructor for class com.fnproject.fn.runtime.coercion.jackson.JacksonCoercion
 

L

listen(String, int) - Static method in class com.fnproject.fn.runtime.ntv.UnixServerSocket
 
loadClass(String, String) - Method in class com.fnproject.fn.runtime.FunctionLoader
create a function runtime context for a given class and method name

M

main(String...) - Static method in class com.fnproject.fn.runtime.EntryPoint
 
MethodFunctionInvoker - Class in com.fnproject.fn.runtime
Method function invoker
MethodFunctionInvoker() - Constructor for class com.fnproject.fn.runtime.MethodFunctionInvoker
 
MethodTypeWrapper - Class in com.fnproject.fn.runtime
 

N

newInvocationContext(InputEvent) - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 

O

OCITracingContext - Class in com.fnproject.fn.runtime.tracing
 
OCITracingContext(InvocationContext, RuntimeContext) - Constructor for class com.fnproject.fn.runtime.tracing.OCITracingContext
 
OutputEventCoercion - Class in com.fnproject.fn.runtime.coercion
 
OutputEventCoercion() - Constructor for class com.fnproject.fn.runtime.coercion.OutputEventCoercion
 

P

PlatformCommunicationException - Exception in com.fnproject.fn.runtime.exception
An error occurred in the
PlatformCommunicationException(String) - Constructor for exception com.fnproject.fn.runtime.exception.PlatformCommunicationException
 
PlatformCommunicationException(String, Exception) - Constructor for exception com.fnproject.fn.runtime.exception.PlatformCommunicationException
 
PrimitiveTypeResolver - Class in com.fnproject.fn.runtime
 
PrimitiveTypeResolver() - Constructor for class com.fnproject.fn.runtime.PrimitiveTypeResolver
 

Q

QueryParametersImpl - Class in com.fnproject.fn.runtime.httpgateway
 
QueryParametersImpl() - Constructor for class com.fnproject.fn.runtime.httpgateway.QueryParametersImpl
 
QueryParametersImpl(Map<String, List<String>>) - Constructor for class com.fnproject.fn.runtime.httpgateway.QueryParametersImpl
 
QueryParametersParser - Class in com.fnproject.fn.runtime.httpgateway
 
QueryParametersParser() - Constructor for class com.fnproject.fn.runtime.httpgateway.QueryParametersParser
 

R

ReadOnceInputEvent - Class in com.fnproject.fn.runtime
Wrapper for an incoming fn invocation event
ReadOnceInputEvent(InputStream, Headers, String, Instant) - Constructor for class com.fnproject.fn.runtime.ReadOnceInputEvent
 
resolve(Class<?>) - Static method in class com.fnproject.fn.runtime.PrimitiveTypeResolver
Resolves cls from a possibly primitive class to a boxed type otherwise just returns cls
run(Map<String, String>, EventCodec, PrintStream, String...) - Method in class com.fnproject.fn.runtime.EntryPoint
Entry point runner - this executes the whole lifecycle of the fn Java FDK runtime - including multiple invocations in the function for hot functions
runCodec(EventCodec.Handler) - Method in interface com.fnproject.fn.runtime.EventCodec
Run Codec should continuously run the function event loop until either the FDK should exit normally (returning normally) or an error occurred.
runCodec(EventCodec.Handler) - Method in class com.fnproject.fn.runtime.HTTPStreamCodec
 

S

setAttribute(String, Object) - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
setContextClassLoader(ClassLoader) - Static method in class com.fnproject.fn.runtime.FunctionLoader
Override the classloader used for fn class resolution Primarily for testing, otherwise the system/default classloader is used.
setReceiveBufferSize(int) - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
setResponseHeader(String, String, String...) - Method in class com.fnproject.fn.runtime.FunctionInvocationContext
 
setResponseHeader(String, String, String...) - Method in class com.fnproject.fn.runtime.httpgateway.FunctionHTTPGatewayContext
 
setSendBufferSize(int) - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
setSoTimeout(int) - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
setStatusCode(int) - Method in class com.fnproject.fn.runtime.httpgateway.FunctionHTTPGatewayContext
 
shutdownInput() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
shutdownOutput() - Method in class com.fnproject.fn.runtime.ntv.UnixSocket
 
size() - Method in class com.fnproject.fn.runtime.httpgateway.QueryParametersImpl
 
StringCoercion - Class in com.fnproject.fn.runtime.coercion
 
StringCoercion() - Constructor for class com.fnproject.fn.runtime.coercion.StringCoercion
 

T

toOutput() - Method in exception com.fnproject.fn.runtime.exception.InternalFunctionInvocationException
map this exception to an output event
toString() - Method in class com.fnproject.fn.runtime.DefaultMethodWrapper
 
tryCoerceParam(InvocationContext, int, InputEvent, MethodWrapper) - Method in class com.fnproject.fn.runtime.coercion.ByteArrayCoercion
 
tryCoerceParam(InvocationContext, int, InputEvent, MethodWrapper) - Method in class com.fnproject.fn.runtime.coercion.ContextCoercion
 
tryCoerceParam(InvocationContext, int, InputEvent, MethodWrapper) - Method in class com.fnproject.fn.runtime.coercion.InputEventCoercion
 
tryCoerceParam(InvocationContext, int, InputEvent, MethodWrapper) - Method in class com.fnproject.fn.runtime.coercion.jackson.JacksonCoercion
 
tryCoerceParam(InvocationContext, int, InputEvent, MethodWrapper) - Method in class com.fnproject.fn.runtime.coercion.StringCoercion
 
tryInvoke(InputEvent, InvocationContext) - Method in class com.fnproject.fn.runtime.FunctionRuntimeContext
 
tryInvoke(InvocationContext, InputEvent) - Method in class com.fnproject.fn.runtime.MethodFunctionInvoker
Invoke the function wrapped by this loader

U

UnixServerSocket - Class in com.fnproject.fn.runtime.ntv
Created on 12/09/2018.
UnixSocket - Class in com.fnproject.fn.runtime.ntv
This approximates a Java.net.socket for many operations but not by any means all Created on 12/09/2018.
UnixSocketException - Exception in com.fnproject.fn.runtime.ntv
Created on 12/09/2018.
UnixSocketException(String, String) - Constructor for exception com.fnproject.fn.runtime.ntv.UnixSocketException
 
UnixSocketException(String) - Constructor for exception com.fnproject.fn.runtime.ntv.UnixSocketException
 

V

Version - Class in com.fnproject.fn.runtime
This uses maven-resource filtering rather than conventional manifest versioning as it's more robust against resource changes than using standard META-INF/MANIFEST.MF versioning.
Version() - Constructor for class com.fnproject.fn.runtime.Version
 
VoidCoercion - Class in com.fnproject.fn.runtime.coercion
 
VoidCoercion() - Constructor for class com.fnproject.fn.runtime.coercion.VoidCoercion
 

W

wrapFunctionResult(InvocationContext, MethodWrapper, Object) - Method in class com.fnproject.fn.runtime.coercion.ByteArrayCoercion
 
wrapFunctionResult(InvocationContext, MethodWrapper, Object) - Method in class com.fnproject.fn.runtime.coercion.jackson.JacksonCoercion
 
wrapFunctionResult(InvocationContext, MethodWrapper, Object) - Method in class com.fnproject.fn.runtime.coercion.OutputEventCoercion
 
wrapFunctionResult(InvocationContext, MethodWrapper, Object) - Method in class com.fnproject.fn.runtime.coercion.StringCoercion
 
wrapFunctionResult(InvocationContext, MethodWrapper, Object) - Method in class com.fnproject.fn.runtime.coercion.VoidCoercion
 
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2023. All rights reserved.