Skip to content

Instantly share code, notes, and snippets.

@mikebroberts
Created November 15, 2017 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikebroberts/0f8eba9b9f436d726b85c127cdc267d5 to your computer and use it in GitHub Desktop.
Save mikebroberts/0f8eba9b9f436d726b85c127cdc267d5 to your computer and use it in GitHub Desktop.
public class MyLambda {
private static final String containerId = java.util.UUID.randomUUID().toString();
public String handler(String input) throws Exception {
Thread.sleep(5000);
return "This is function instance " + containerId;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment